From 57c408a3a0e69f1319b4092b6fac8dd838bf5e45 Mon Sep 17 00:00:00 2001 From: SyrieBianco Date: Wed, 12 Feb 2020 17:42:20 -0800 Subject: Update Godoc server to pkg.go.dev (#40) Update our default Godoc server from `` to the shiny, new `https://pkg.go.dev/` See https://github.com/uber-go/sally/issues/39, T4832833 --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.go') diff --git a/config.go b/config.go index 37045e9..c40b2bd 100644 --- a/config.go +++ b/config.go @@ -9,7 +9,7 @@ import ( yaml "gopkg.in/yaml.v2" ) -const _defaultGodocServer = "godoc.org" +const _defaultGodocServer = "pkg.go.dev" // Config represents the structure of the yaml file type Config struct { @@ -27,7 +27,7 @@ type Package struct { // ensureAlphabetical checks that the packages are listed alphabetically in the configuration. func ensureAlphabetical(data []byte) bool { - // A yaml.MapSlice perservers ordering of keys: https://godoc.org/gopkg.in/yaml.v2#MapSlice + // A yaml.MapSlice perservers ordering of keys: https://pkg.go.dev/gopkg.in/yaml.v2#MapSlice var c struct { Packages yaml.MapSlice `yaml:"packages"` } -- cgit v1.2.3