Documentation
¶
Index ¶
- Constants
- func GenerateCodeForType(v any, tpName 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 = `` /* 314-byte string literal not displayed */
)
View Source
const (
GenFileTemplate = `` /* 1123-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
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 Types []GenDataTypeInfo }
type GenDataTypeInfo ¶
Click to show internal directories.
Click to hide internal directories.