aboutsummaryrefslogtreecommitdiff
path: root/go.sum (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-05-17Update dependencies (#54)Gravatar Abhinav Gupta 1-18/+31
Update all dependencies, use Go 1.18 to build and test, and delete outdated `bindata` clause in Makefile (we switched to `go:embed` in #50). Other minor changes: - Fix the golint import path (it switched to golang.org/x/lint long before it was deprecated) and fix the failing lint check. (Switching from golint to revive is out of scope for this PR.) - Delete .envrc -- this was transitional for when Go modules were optional.
2020-03-02Fix godoc badge image (#43)Gravatar Abhinav Gupta 1-1/+1
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.
2019-01-03template: Bundle in binary with bindata (#36)Gravatar Abhinav Gupta 1-0/+3
This uses go-bindata/go-bindata to bundle the template in the binary. I also realized that the handler test was now broken because we were checking the exact contents of the index page in the test. This change fixes that too.
2019-01-02Upgrade to Go 1.11 and use modules (#33)Gravatar Abhinav Gupta 1-0/+31
This commit modernizes the repository organization a bit. In short, this, - Upgrades to Go 1.11. - Uses Go modules instead of Glide. - Drops errcheck, which we rarely use in our codebase internally. - Uses `./...` to run build, tests, etc. since that does not have to account for vendor anymore. - Drops `-installsuffix cgo` from the production build. This was a workaround for pre-1.10 versions of Go. See https://github.com/golang/go/issues/9344#issuecomment-69944514. - Uses a tools.go as recommended in [go-modules-by-example/tools][1] to pin to tool dependencies. - Uses `go run` instead of `go install`ing tools globally. [1]: https://github.com/go-modules-by-example/index/tree/master/010_tools Tested locally with `make docker-launch`.