aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorGravatar SyrieBianco <syriebianco@gmail.com> 2020-02-12 17:42:20 -0800
committerGravatar GitHub <noreply@github.com> 2020-02-12 17:42:20 -0800
commit57c408a3a0e69f1319b4092b6fac8dd838bf5e45 (patch)
tree7bcf6924ff6342f9d51bae494488dba6472f29fc /config.go
parent0f36fa322f7057b85d36bb81af7f32d589557449 (diff)
downloadsally-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.go4
1 files changed, 2 insertions, 2 deletions
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"`
}