本站源代码
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.

24 satır
381B

  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. }
上海开阖软件有限公司 沪ICP备12045867号-1