skeleton/assets/assets_generate.go
2019-12-14 07:27:15 +01:00

22 lines
No EOL
347 B
Go

// +build ignore
package main
import (
"log"
"bitmask.me/skeleton/assets"
"github.com/shurcooL/vfsgen"
)
func main() {
err := vfsgen.Generate(assets.Assets, vfsgen.Options{
PackageName: "assets",
BuildTags: "!dev",
VariableName: "Assets",
Filename: "./assets/assets_vfsdata.go",
})
if err != nil {
log.Fatalln(err)
}
}