package main import ( "encoding/json" "fmt" "html/template" "io/ioutil" "log" "net/http" "net/url" "os" "regexp" "sort" "sync" "time" ) const packageTemplateString = `
To get the package, execute:
go get {{.Repo.GopkgPath}}
To import this package, add the following line to your code:
import "{{.Repo.GopkgPath}}"{{if .PackageName}}
Refer to it as {{.PackageName}}.{{end}}
For more details, see the API documentation.