Documentation ¶
Index ¶
- Constants
- func GenerateCodeForType(v any, tpName string) string
- func GoRunGeneratorFile(gfpath string) error
- func MakeGeneratedFilePath(srcPath string) string
- func MakeGeneratorFilePath(srcPath string) string
- func RemoveGeneratorFile(fpath string) error
- func WriteGeneratorFile(fpath string, info parser.Info) error
- func WriteTypeHashFile(fpath string, gData GenData) error
- type GenData
- type GenDataTypeInfo
Constants ¶
View Source
const (
FileTemplate = `` /* 153-byte string literal not displayed */
)
View Source
const (
GenFileTemplate = `` /* 869-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func GenerateCodeForType ¶
func GoRunGeneratorFile ¶
func MakeGeneratedFilePath ¶
func MakeGeneratorFilePath ¶
func RemoveGeneratorFile ¶
func WriteTypeHashFile ¶
Types ¶
type GenData ¶
type GenData struct { PkgName string Types []GenDataTypeInfo }
type GenDataTypeInfo ¶
type GenDataTypeInfo struct {
FuncCode string
}
Click to show internal directories.
Click to hide internal directories.