You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.go 381B

1234567891011121314151617181920212223
  1. // +build ignore
  2. package main
  3. import (
  4. "log"
  5. "net/http"
  6. "github.com/shurcooL/vfsgen"
  7. )
  8. func main() {
  9. var fsTemplates http.FileSystem = http.Dir("../../options")
  10. err := vfsgen.Generate(fsTemplates, vfsgen.Options{
  11. PackageName: "options",
  12. BuildTags: "bindata",
  13. VariableName: "Assets",
  14. Filename: "bindata.go",
  15. })
  16. if err != nil {
  17. log.Fatal("%v", err)
  18. }
  19. }