go projects need
git and similar tools to fetch dependencies - https://github.com/golang/go/wiki/GoGetTools - and
snapcraft doesn’t install them, which leads to the build error.
... Please consider setting `go-importpath` for the 'podman' part go: missing Git command. See https://golang.org/s/gogetcmd package github.com/containers/libpod/pkg/chrootuser: exec: "git": executable file not found in $PATH package github.com/containers/libpod/pkg/secrets: cannot find package "github.com/containers/libpod/pkg/secrets" in any of: ...