command
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: May 1, 2024
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
hagane
hagane is a template base code generator.
$ hagane -template template.go.tmpl -o sample_mock.go -data '{"type":"DB"}' sample.go
-o
: output file path (default stdout)
-f
: template format (default "{{.}}")
-template
: template file (data use -f
option)
-data
: extra data as JSON format
See the example.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.