Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { OutputDir string // must be a directory path OutputPkg string // must be a Go import-path OutputFile string GoHeaderFile string // ReportFilename is added to Args for specifying name of report file used // by API linter. If specified, API rule violations will be printed to report file. // Otherwise default value "-" will be used which indicates stdout. ReportFilename string }
func New ¶
func New() *Args
New returns default arguments for the generator. Returning the arguments instead of using default flag parsing allows registering custom arguments afterwards
Click to show internal directories.
Click to hide internal directories.