Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMirTypes ¶
func GenerateOneofInterfaces ¶
func GenerateOneofInterfaces( inputDir, inputPackagePath string, msgs []*types.Message, parser *types.Parser, ) (err error)
GenerateOneofInterfaces generates exported interfaces of the form "[Msg]_[Oneof]" "[Msg]_[Oneof]Wrapper" for all oneofs in the given messages, where [Msg] is the name of the message and [Oneof] is the name of the oneof.
Types ¶
type TypeGenerator ¶
type TypeGenerator struct{}
Click to show internal directories.
Click to hide internal directories.