Documentation
¶
Index ¶
- Constants
- func GenerateCodeForType(v any, tpName string, imports map[string]string) (string, string)
- func GoRunGenerateForResultFile(path string) error
- func GoRunGeneratorFile(gfpath string) error
- func MakeGeneratedFilePath(srcPath string) string
- func MakeGeneratorFilePath(srcPath string) string
- func RemoveGeneratorFile(fpath string) error
- func WriteEasyHideFile(fpath string, gData GenData) error
- func WriteGeneratorFile(fpath string, info parser.Info) error
- type GenData
- type GenDataTypeInfo
Constants ¶
View Source
const (
FileTemplate = `` /* 384-byte string literal not displayed */
)
View Source
const (
GenFileTemplate = `` /* 1175-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func GenerateCodeForType ¶
func GoRunGenerateForResultFile ¶ added in v0.0.5
func GoRunGeneratorFile ¶
func MakeGeneratedFilePath ¶
func MakeGeneratorFilePath ¶
func RemoveGeneratorFile ¶
func WriteEasyHideFile ¶
Types ¶
type GenData ¶
type GenData struct {
PkgName string
EasyJSON bool
Imports map[string]string
Types []GenDataTypeInfo
}
type GenDataTypeInfo ¶
Click to show internal directories.
Click to hide internal directories.