From c40da362956f3f18fdcb3a86c0b7f000f54bf909 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Tue, 17 May 2022 09:43:31 -0700 Subject: Update dependencies (#54) 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. --- templates/templates.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/templates.go b/templates/templates.go index 40d229a..644eb3b 100644 --- a/templates/templates.go +++ b/templates/templates.go @@ -1,9 +1,11 @@ package templates -import _ "embed" +import _ "embed" // needed for go:embed +// Index holds the contents of the index.html template. //go:embed index.html var Index string +// Package holds the contents of the package.html template. //go:embed package.html var Package string -- cgit v1.2.3