Documentation
¶
Overview ¶
Package convert provides a function to generate conversion functions for a vehicle struct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// CopyComments determines if comments for the conversion functions should be copied through.
CopyComments bool
// PackageName is the name of the package to generate the conversion functions.
// This is separate from the model package name.
// if empty, the model package name is used.
PackageName string
// OutputDir is the output directory for the generated conversion files.
// if empty, the base output directory is used.
OutputDir string
}
Config is the configuration for the conversion generator.
Click to show internal directories.
Click to hide internal directories.