github.com/openshift/installer@v1.4.17/data/assets_generate.go (about) 1 //go:build tools 2 // +build tools 3 4 package main 5 6 import ( 7 "log" 8 9 "github.com/shurcooL/vfsgen" 10 11 "github.com/openshift/installer/data" 12 ) 13 14 func main() { 15 err := vfsgen.Generate(data.Assets, vfsgen.Options{ 16 PackageName: "data", 17 BuildTags: "release", 18 VariableName: "Assets", 19 }) 20 if err != nil { 21 log.Fatalln(err) 22 } 23 }