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