go 1.16 features
- use go embed instead of go-binary and remove all about old assets (go 1.16 feature) - pin gox version (go 1.16 feature) - update ci to go 1.16
This commit is contained in:
7
static/data.go
Normal file
7
static/data.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package static
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed img/* js/* css/* fonts/*
|
||||
//go:embed index.html
|
||||
var Static embed.FS
|
||||
Reference in New Issue
Block a user