summaryrefslogtreecommitdiffstats
path: root/modules/options/main.go
blob: 0bc6c04e24b99b76093c95a26be9913117a24136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// +build ignore

package main

import (
	"log"
	"net/http"

	"github.com/shurcooL/vfsgen"
)

func main() {
	var fsTemplates http.FileSystem = http.Dir("../../options")
	err := vfsgen.Generate(fsTemplates, vfsgen.Options{
		PackageName:  "options",
		BuildTags:    "bindata",
		VariableName: "Assets",
		Filename:     "bindata.go",
	})
	if err != nil {
		log.Fatal("%v", err)
	}
}