diff options
author | 2020-02-12 17:42:20 -0800 | |
---|---|---|
committer | 2020-02-12 17:42:20 -0800 | |
commit | 57c408a3a0e69f1319b4092b6fac8dd838bf5e45 (patch) | |
tree | 7bcf6924ff6342f9d51bae494488dba6472f29fc /config.go | |
parent | 0f36fa322f7057b85d36bb81af7f32d589557449 (diff) | |
download | sally-57c408a3a0e69f1319b4092b6fac8dd838bf5e45.tar.gz sally-57c408a3a0e69f1319b4092b6fac8dd838bf5e45.tar.zst sally-57c408a3a0e69f1319b4092b6fac8dd838bf5e45.zip |
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
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"` } |