protoc-gen-go-micro/assets.go
Vasiliy Tolstov 45a0f7b969 update to v3
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-02 14:07:31 +03:00

23 lines
358 B
Go

// +build dev
package main
import (
"log"
"github.com/shurcooL/vfsgen"
"github.com/unistack-org/protoc-gen-micro/v3/assets"
)
func main() {
err := vfsgen.Generate(assets.Assets, vfsgen.Options{
PackageName: "assets",
BuildTags: "!dev",
VariableName: "Assets",
Filename: "assets/vfsdata.go",
})
if err != nil {
log.Fatal(err)
}
}