Imports github.com/juju/errors github.com/juju/juju/apiserver/common github.com/juju/juju/apiserver/params github.com/juju/juju/charmstore github.com/juju/juju/resource github.com/juju/loggo github.com/juju/names gopkg.in/juju/charm.v6-unstable/resource gopkg.in/macaroon.v1 Standard library imports encoding/json fmt io mime net/http net/url strconv strings time