Imports github.com/snapcore/snapd/arch github.com/snapcore/snapd/asserts github.com/snapcore/snapd/logger github.com/snapcore/snapd/overlord/auth github.com/snapcore/snapd/progress github.com/snapcore/snapd/release github.com/snapcore/snapd/snap gopkg.in/macaroon.v1 Standard library imports bytes encoding/base64 encoding/json errors fmt io io/ioutil net/http net/http/httputil net/url os path reflect strconv strings sync time