github.com/theliebeskind/genfig@v0.1.5-alpha/models/models.go (about) 1 package models 2 3 // Schema defines the schema 4 type Schema struct { 5 IsStruct bool 6 Content string 7 Path string 8 } 9 10 // SchemaMap aliases as string-map of bytes 11 type SchemaMap map[string]Schema 12 13 // Params for the Generate func as struct, 14 // empty values are default values, so can be passed empty 15 type Params struct { 16 Dir string 17 DefaultEnv string 18 MergeFiles bool 19 }