Documentation ¶
Index ¶
- func DefaultNameSystem() string
- func IsComparable(t *types.Type) bool
- func NameSystems() namer.NameSystems
- func NewGenDeepEqual(sanitizedName, targetPackage string, boundingDirs []string, ...) generator.Generator
- func Packages(context *generator.Context, arguments *args.GeneratorArgs) generator.Packages
- type CustomArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultNameSystem ¶
func DefaultNameSystem() string
DefaultNameSystem returns the default name system for ordering the types to be processed by the generators in this package.
func IsComparable ¶
IsAssignable returns whether the type is deep-assignable. For example, slices and maps and pointers are shallow copies, but ints and strings are complete.
func NameSystems ¶
func NameSystems() namer.NameSystems
NameSystems returns the name system used by the generators in this package.
func NewGenDeepEqual ¶
Types ¶
type CustomArgs ¶
type CustomArgs struct {
BoundingDirs []string // Only deal with types rooted under these dirs.
}
CustomArgs is used tby the go2idl framework to pass args specific to this generator.
Click to show internal directories.
Click to hide internal directories.