tstor/cmd/assets_generate/main.go
Antonio Navarro Perez 11d501cd51 Implement logrus, fix httpFs
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-14 13:55:08 +02:00

20 lines
347 B
Go

// +build ignore
package main
import (
"github.com/ajnavarro/distribyted"
"github.com/shurcooL/vfsgen"
log "github.com/sirupsen/logrus"
)
func main() {
err := vfsgen.Generate(distribyted.HttpFS, vfsgen.Options{
BuildTags: "release",
VariableName: "HttpFS",
PackageName: "distribyted",
})
if err != nil {
log.Fatalln(err)
}
}