Imports gopkg.in/mgo.v2/bson github.com/juju/errors github.com/juju/loggo github.com/juju/schema github.com/juju/utils/set github.com/juju/version Standard library imports io io/ioutil mime/multipart net net/http net/http/httptest net/url path regexp sort strconv strings sync sync/atomic text/template time bufio bytes crypto/rand encoding/base64 encoding/binary encoding/json errors fmt