Imports github.com/pkg/errors github.com/blang/semver github.com/rhysd/go-github-selfupdate/selfupdate Standard library imports bufio fmt io log net/http os path/filepath