Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest struct {
// codegen destination file path
// +required
DstFilePath string
// DstPkg must not be same with InstanceOf pkg
// DstPkg must same with DstFilePath pkg (or suffix word)
// +optional
DstPkg string
// InstanceOf only allow pointer type (Addressable type: any, func, pointer, map, slice)
// +required
InstanceOf any
// +optional
UnExportGlobalVarName string
// +optional
GenImport bool
// +optional
GenVar bool
// contains filtered or unexported fields
}
Manifest for all `func` of a `struct` codegen to `pkg` level func with a `pkg` level global var
Click to show internal directories.
Click to hide internal directories.