var v … func main() { … } func try(url string, prev *http.Response) *http.Response { … } func formatHead(out io.Writer, resp *http.Response) { … } type Cred … func (c Cred) Apply(req *http.Request) bool { … } func (c Cred) String() string { … } func getCreds(args []string, resp *http.Response) ([]Cred, error) { … }