add special case for handling go-get queries
1 file changed, 8 insertions(+), 0 deletions(-)
changed files
M internal/config/config.go → internal/config/config.go
@@ -53,6 +53,12 @@ return fault.Wrap(err, fmsg.With(fmt.Sprintf("could not parse timezone %s", string(text)))) } +type GoPackagesConfig struct { + Domain URL + Forge URL + Packages []string +} + type Config struct { Title string Email string@@ -76,6 +82,8 @@ Taxonomies []Taxonomy Menu []MenuItem RelMe []MenuItem `toml:"rel_me"` + + Go GoPackagesConfig } func GetConfig(dir string, log *log.Logger) (*Config, error) {