Documentation ¶
Index ¶
Constants ¶
View Source
const ( APP = "GoHeft" VER = "1.0.1" DESC = "Utility for listing sizes of used static libraries" )
View Source
const ( OPT_TAGS = "t:tags" OPT_EXTERNAL = "E:external" OPT_PAGER = "P:pager" OPT_MIN_SIZE = "m:min-size" 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" )
View Source
const ( SIZE_HUGE uint64 = 5 * 1024 * 1024 // 5Mb SIZE_BIG uint64 = 1024 * 1024 // 1Mb SIZE_SMALL uint64 = 25 * 1024 // 25Kb )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LibInfoSlice ¶
type LibInfoSlice []LibInfo
func (LibInfoSlice) Len ¶
func (s LibInfoSlice) Len() int
func (LibInfoSlice) Less ¶
func (s LibInfoSlice) Less(i, j int) bool
func (LibInfoSlice) Swap ¶
func (s LibInfoSlice) Swap(i, j int)
func (LibInfoSlice) Total ¶
func (s LibInfoSlice) Total() uint64
Total returns size of all libraries
Click to show internal directories.
Click to hide internal directories.