diff options
author | 2022-05-17 09:43:31 -0700 | |
---|---|---|
committer | 2022-05-17 09:43:31 -0700 | |
commit | c40da362956f3f18fdcb3a86c0b7f000f54bf909 (patch) | |
tree | 84ab07008feefdeba25194da221def0e8fefcf13 /templates | |
parent | 8a0c579592136da8105d54081c3f69060c4dcf71 (diff) | |
download | sally-c40da362956f3f18fdcb3a86c0b7f000f54bf909.tar.gz sally-c40da362956f3f18fdcb3a86c0b7f000f54bf909.tar.zst sally-c40da362956f3f18fdcb3a86c0b7f000f54bf909.zip |
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.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/templates.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 |