diff --git a/doc/github.go b/doc/github.go index c81b6d3..9f8d6ae 100644 --- a/doc/github.go +++ b/doc/github.go @@ -102,7 +102,7 @@ func getGithubDoc(client *http.Client, match map[string]string, tag, savedEtag s err = httpGetJSON(client, expand("https://api.github.com/repos/{owner}/{repo}/git/trees/{tag}?recursive=1&{cred}", match), &tree) if err != nil { - return nil, errors.New("doc.getGithubDoc(" + match["importPath"] + ") -> get tress: " + err.Error()) + return nil, errors.New("doc.getGithubDoc(" + match["importPath"] + ") -> get trees: " + err.Error()) } // Because Github API URLs are case-insensitive, we need to check that the