github.com/microsoft/fabrikate@v1.0.0-alpha.1.0.20210115014322-dc09194d0885/cmd/fab/main.go (about) 1 package main 2 3 import ( 4 "reflect" 5 6 "github.com/microsoft/fabrikate/internal/cmd" 7 "github.com/timfpark/yaml" 8 ) 9 10 func main() { 11 // modify the DefaultMapType of yaml to map[string]interface{} instead of map[interface]interface{} 12 *yaml.DefaultMapType = reflect.TypeOf(map[string]interface{}{}) 13 14 cmd.Execute() 15 }