aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Abhinav Gupta <abg@uber.com> 2020-03-02 16:45:03 -0800
committerGravatar GitHub <noreply@github.com> 2020-03-02 16:45:03 -0800
commit26614a84e7bb577eccbf64a4828bc2d63c310131 (patch)
tree9d665a8aef13cf49039d97b6dd20512ecfaede77
parent083365d52e0b7c1bf001f4298ff78a02288622ba (diff)
downloadsally-26614a84e7bb577eccbf64a4828bc2d63c310131.tar.gz
sally-26614a84e7bb577eccbf64a4828bc2d63c310131.tar.zst
sally-26614a84e7bb577eccbf64a4828bc2d63c310131.zip
Fix godoc badge image (#43)
pkg.go.dev does not serve a badge like godoc.org. This change switches the image over to one provided by shields.io. Note that this uses the style "for-the-badge" from shields.io.
-rw-r--r--CHANGELOG.md5
-rw-r--r--bindata.go6
-rw-r--r--go.sum2
-rw-r--r--templates/index.html2
4 files changed, 10 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f1494db..6c3be7b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [Unreleased]
+### Fixed
+- Fixed godoc badge image.
+
## [1.1.0] - 2020-02-13
### Added
- Support configuring the godoc server used for documentation links.
@@ -20,5 +24,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial tagged release.
+[Unreleased]: https://github.com/uber-go/sally/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/uber-go/sally/compare/v1.0.1...v1.1.0
[1.0.1]: https://github.com/uber-go/sally/compare/v1.0.0...v1.0.1
diff --git a/bindata.go b/bindata.go
index dbcd8b0..0b3117d 100644
--- a/bindata.go
+++ b/bindata.go
@@ -67,7 +67,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}
-var _templatesIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x54\xc1\x6e\xdb\x30\x0c\xbd\xef\x2b\x38\x21\xbd\xad\xe2\x30\xec\x54\x28\xd9\x61\x19\xba\xc3\x80\x05\xdd\x76\xd8\x51\x91\x98\x58\x8d\x2c\x05\x12\xed\x2e\x28\xfc\xef\x43\xec\xb4\x69\x9d\xd9\x0d\x30\xd4\x17\x9b\xe6\x7b\x8f\x14\x49\x51\xbd\x9d\x7f\xff\xfc\xf3\xf7\xe2\x0b\x14\x5c\xfa\xd9\x1b\xd5\xbd\x00\x00\x54\x41\xda\x76\x9f\xad\xe9\x5d\xd8\x40\x22\x3f\x15\x99\x77\x9e\x72\x41\xc4\x02\x8a\x44\xab\xa9\x28\x98\xb7\xf9\x0a\xd1\xd8\x70\x9b\xa5\xf1\xb1\xb2\x2b\xaf\x13\x49\x13\x4b\xd4\xb7\xfa\x0f\x7a\xb7\xcc\x98\x37\xe4\x89\x63\xc0\x0f\xf2\xbd\xfc\xf8\x68\xca\xd2\x05\x69\x72\x16\x80\x87\xd0\x78\x8c\xad\x96\xd1\xee\x9e\xa4\x61\x5d\x0d\xc6\xeb\x9c\xa7\xc2\xc4\xc0\xda\x05\x4a\xe2\xe8\xef\x63\x52\xbc\xeb\x79\x5b\x04\xeb\xa5\xa7\x07\x4c\x75\xb9\xaa\xbc\xbf\xbc\x73\x96\x8b\x7f\x80\x3b\xc2\xf3\x6a\x9c\xfa\xd3\xb0\xf3\x20\x30\x5b\x68\xb3\xd1\x6b\x52\xc8\xc5\xcb\xe0\x1f\xb1\x4a\xe6\x4c\xec\x3c\x9a\xaa\xa4\xc0\x9a\x5d\x0c\xe3\x14\x85\x43\x99\xee\x79\x83\x67\x54\xfc\xbc\x0d\xfd\xe7\xfe\x1e\x92\x0e\x6b\x82\xc9\x86\x76\xef\x60\x52\x6b\x5f\x11\x5c\x4d\x41\x1e\x0e\x9d\xa1\x69\xc6\xd8\x13\x57\x6e\x63\xe2\x85\xe6\x62\x4f\xdb\x26\x17\x78\x05\xe2\xa2\xc6\x8b\x5a\xc0\x44\xfe\xba\xf9\xd6\x6a\x8f\xc9\x9c\xd1\x04\x3b\xeb\xc5\x6a\x1a\x85\x3c\xd2\xd8\x07\xda\x28\xa0\x05\xe9\xc3\x5d\x40\xdc\x87\x68\x0b\x20\x6f\x68\x1b\xa1\x69\xc4\xec\xe4\x97\x42\xfd\x42\xd0\x57\x49\x4b\x5e\x47\x1b\x8d\xfc\x1a\x33\x43\xd3\xe0\x49\x31\x06\xc6\xff\x44\xd5\x95\x6b\xc8\xc9\x9c\x2b\xfb\x29\xb3\xe6\x2a\xcb\x5c\xaf\x05\x68\xcf\x53\x71\x1d\xe7\xd1\x3c\x5e\xf8\xf1\x42\xfc\x57\xa5\x86\x07\x1e\xba\xc9\xa3\x60\x87\x86\x4a\xe1\xc0\xd8\x2b\x6c\x17\x48\x6f\xed\xa0\x75\xf5\x93\x4d\x75\x34\x15\x76\x32\x0a\xbb\xf5\xfa\x37\x00\x00\xff\xff\x5e\x31\xf2\xd0\x76\x05\x00\x00")
+var _templatesIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x54\x4f\x6f\xd3\x30\x14\xbf\xf3\x29\x1e\x56\x77\x23\x7e\x08\x71\x9a\x9c\x72\xa0\x68\x1c\x90\xa8\x06\x1c\x38\xba\xf6\x4b\xec\xd5\xb1\x2b\xdb\xe9\xa8\xa6\x7c\x77\xd4\xa4\x5b\xb7\x96\x64\x93\xd0\x72\x49\x9c\xf7\xfb\x63\x3f\xbf\xf7\xc4\xdb\xc5\xf7\xcf\x3f\x7f\x2f\xbf\x80\xc9\x8d\x9b\xbf\x11\xc3\x0b\x00\x40\x18\x92\x7a\xf8\xec\x97\xce\xfa\x35\x44\x72\x25\x4b\x79\xe7\x28\x19\xa2\xcc\xc0\x44\xaa\x4a\x66\x72\xde\xa4\x4b\x44\xa5\xfd\x4d\xe2\xca\x85\x56\x57\x4e\x46\xe2\x2a\x34\x28\x6f\xe4\x1f\x74\x76\x95\x30\xad\xc9\x51\x0e\x1e\x3f\xf0\xf7\xfc\xe3\xc3\x92\x37\xd6\x73\x95\x12\x03\x3c\x58\xe3\xd1\x5b\xac\x82\xde\x3d\xda\x86\xb6\x5b\x50\x4e\xa6\x54\x32\x15\x7c\x96\xd6\x53\x64\xc7\xf8\x29\x26\x86\xdb\x93\x68\x8f\xc8\x72\xe5\xe8\x1e\xd3\x16\x55\xeb\x5c\x71\x6b\x75\x36\xff\x00\x0f\x84\xa7\xd9\x38\x8f\xc7\xf1\xe0\x41\x60\xbe\x94\x6a\x2d\x6b\x12\x98\xcd\xf3\xe0\x1f\xa1\x8d\xea\x85\xd8\x45\x50\x6d\x43\x3e\xcb\x6c\x83\x9f\xa6\x08\x1c\xdb\xe9\x9e\x37\x7a\x46\x91\x9f\x5e\xc3\xe9\x73\x77\x07\x51\xfa\x9a\x60\xb6\xa6\xdd\x3b\x98\x6d\xa5\x6b\x09\x2e\x4b\xe0\x87\x43\x27\xe8\xba\x29\xf6\xcc\x36\x9b\x10\xf3\x52\x66\xb3\xa7\x6d\xa2\xf5\xb9\x02\x76\xb1\xc5\x8b\x2d\x83\x19\xff\x75\xfd\xad\xd7\x9e\x92\x79\xc1\x25\xe8\xf9\x89\x57\xd7\x09\xcc\x13\x17\x7b\x4f\x9b\x04\xf4\x20\x79\xe8\x05\xc4\xbd\x45\x9f\x00\x7e\x4d\x9b\x00\x5d\xc7\xe6\x67\xbf\x04\xca\x67\x4c\x5f\x65\x5b\xfc\x2a\xe8\xa0\xf8\xd7\x90\x32\x74\x1d\x9e\x25\x63\xa4\xfc\xcf\x54\x6d\x53\x43\x8a\x6a\x2f\x6b\x9b\x9a\x27\x63\xc9\xe9\xc4\x6d\xc0\x95\xd4\x35\x61\xbd\xb7\x29\x22\x55\x14\xc9\x2b\x2a\x56\xae\xa5\x4f\xfd\xdc\x28\xab\x10\x8b\x6c\xa8\xe8\x81\x0c\xa4\xcb\x25\xbb\x0a\x8b\xa0\x1e\xda\x7f\x3a\x2d\xff\x95\xb7\xf1\xf2\x87\xa1\x0e\xc9\xeb\xb1\x12\x13\x38\xd2\x04\x02\xfb\x71\x72\x32\x84\x50\xdb\xed\xa3\xb9\x75\x5c\x0a\x1c\x64\x04\x0e\xc3\xf6\x6f\x00\x00\x00\xff\xff\x27\x3c\xf8\x31\x84\x05\x00\x00")
func templatesIndexHtmlBytes() ([]byte, error) {
return bindataRead(
@@ -82,7 +82,7 @@ func templatesIndexHtml() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "templates/index.html", size: 1398, mode: os.FileMode(420), modTime: time.Unix(1551814013, 0)}
+ info := bindataFileInfo{name: "templates/index.html", size: 1412, mode: os.FileMode(420), modTime: time.Unix(1583193826, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -102,7 +102,7 @@ func templatesPackageHtml() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "templates/package.html", size: 483, mode: os.FileMode(420), modTime: time.Unix(1546544917, 0)}
+ info := bindataFileInfo{name: "templates/package.html", size: 483, mode: os.FileMode(420), modTime: time.Unix(1583192015, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
diff --git a/go.sum b/go.sum
index 722d79e..8b63c8a 100644
--- a/go.sum
+++ b/go.sum
@@ -1,6 +1,6 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/go-bindata/go-bindata v1.0.0 h1:upAQEGKG3hFv00/4cU/VhzF+NpCHz+Jk3rO946wWr+A=
+github.com/go-bindata/go-bindata v1.0.0 h1:DZ34txDXWn1DyWa+vQf7V9ANc2ILTtrEjtlsdJRF26M=
github.com/go-bindata/go-bindata v1.0.0/go.mod h1:xK8Dsgwmeed+BBsSy2XTopBn/8uK2HWuGSnA11C3Joo=
github.com/golang/lint v0.0.0-20181217174547-8f45f776aaf1 h1:6DVPu65tee05kY0/rciBQ47ue+AnuY8KTayV6VHikIo=
github.com/golang/lint v0.0.0-20181217174547-8f45f776aaf1/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E=
diff --git a/templates/index.html b/templates/index.html
index d322ef6..50b6004 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -24,7 +24,7 @@
</td>
<td>
<a href="//{{ $.Godoc.Host }}/{{ $importPath }}">
- <img src="//{{ $.Godoc.Host }}/{{ $importPath }}?status.svg" alt="GoDoc" />
+ <img src="//img.shields.io/badge/godoc-reference-blue?style=for-the-badge" alt="GoDoc" />
</a>
</td>
</tr>