Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (18 sloc) 396 Bytes
package main
type canonical struct {
Path string
Subpackages []string
NoREADME bool
}
type config struct {
GodocFromSource bool
Packages map[string]canonical
}
func newConfig() *config {
return &config{Packages: map[string]canonical{
"github.com/my/package": {
Path: "go.my.domain/package",
Subpackages: []string{"subpackage1", "subpackage2"},
},
}}
}
You can’t perform that action at this time.