package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: May 10, 2021
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Generate(targetPkg, srcName string, tags, types []string, exclude bool, ...) error
-
func SimplifiedGenerate(filename, pkg, nameTag, optTag string, types []string, exclude bool, ...) error
Generate generates mapper go code
`name_tag:"column_name" opt_tag:",auto"` or `tag:"column_name,auto"` if tags are equal.
SimplifiedGenerate generates mapper go code
`name_tag:"column_name" opt_tag:",auto"` or `tag:"column_name,auto"` if tags are equal.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.