Documentation
¶
Index ¶
Constants ¶
View Source
const ( APP = "GoMakeGen" VER = "3.2.3" DESC = "Utility for generating makefiles for Go applications" )
App info
View Source
const ( OPT_OUTPUT = "o:output" OPT_GLIDE = "g:glide" OPT_DEP = "d:dep" OPT_MOD = "m:mod" OPT_STRIP = "S:strip" OPT_BENCHMARK = "B:benchmark" OPT_RACE = "R:race" OPT_CGO = "C:cgo" OPT_NO_COLOR = "nc:no-color" OPT_HELP = "h:help" OPT_VER = "v:version" OPT_VERB_VER = "vv:verbose-version" OPT_COMPLETION = "completion" OPT_GENERATE_MAN = "generate-man" )
Constants with options names
View Source
const SEPARATOR_SIZE = 80
SEPARATOR_SIZE is default separator size
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Makefile ¶
type Makefile struct { BaseImports []string TestImports []string Binaries []string FuzzPaths []string TestPaths []string PkgBase string MaxTargetNameSize int MaxOptionNameSize int HasTests bool Benchmark bool Race bool Strip bool CGO bool HasSubpackages bool HasStableImports bool GlideUsed bool DepUsed bool ModUsed bool }
Makefile contains full info for makefile generation
Click to show internal directories.
Click to hide internal directories.