Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SafeVarName is used to remove special chars from paths SafeVarName = regexp.MustCompile(`[^a-zA-Z0-9]`) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Dest string NoPrefix bool Pkg string Fmt bool // gofmt Compression *compression.Options Tags string Output string Custom []custom.Custom Spread bool Unexported bool Clean bool Debug bool Updater updater.Config Lcf bool }
Config holds the json/yaml/toml data
type File ¶
File holds config file info
func (*File) Load ¶
Load the json/yaml file that was specified from args and transform it into a config struct
func (*File) RemoveJSONComments ¶
func (f *File) RemoveJSONComments()
RemoveJSONComments from the file
Click to show internal directories.
Click to hide internal directories.