Documentation
¶
Overview ¶
Package generate produces canoto serialization code, proto definitions, and standalone library copies from Go source files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Canoto ¶
func Canoto( inputFilePath string, canotoImport string, internal bool, cacheTemplate string, numberTemplate string, tagTemplate string, oneOfTypeTemplate string, oneOfUnsetTemplate string, oneOfFieldTemplate string, ) error
Canoto generates the canoto serialization logic for the provided file.
func Library ¶ added in v0.10.0
Library generates the canoto serialization primitives package in the provided folder.
Specifically, if "./internal" is provided, this will generate the package "./internal/canoto" with the serialization primitives included in "./internal/canoto/canoto.go" and "./internal/canoto/canoto.canoto.go".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.