Documentation ¶
Index ¶
- Constants
- func Flagcount(name, usage string, val *int)
- func Flagfn0(name, usage string, f func())
- func Flagfn1(name, usage string, f func(string))
- func Flagfn2(string, string, func(string, string))
- func Flagint32(name, usage string, val *int32)
- func Flagint64(name, usage string, val *int64)
- func Flagparse(usage func())
- func Flagprint(fd int)
- func Flagstr(name, usage string, val *string)
Constants ¶
View Source
const ( FmtWidth = 1 FmtLeft = FmtWidth << 1 FmtPrec = FmtLeft << 1 FmtSharp = FmtPrec << 1 FmtSpace = FmtSharp << 1 FmtSign = FmtSpace << 1 FmtApost = FmtSign << 1 FmtZero = FmtApost << 1 FmtUnsigned = FmtZero << 1 FmtShort = FmtUnsigned << 1 FmtLong = FmtShort << 1 FmtVLong = FmtLong << 1 FmtComma = FmtVLong << 1 FmtByte = FmtComma << 1 FmtLDouble = FmtByte << 1 FmtFlag = FmtLDouble << 1 )
View Source
const ( // Don't profile the marked routine. This flag is deprecated. NOPROF = 1 // It is ok for the linker to get multiple of these symbols. It will // pick one of the duplicates to use. DUPOK = 2 // Don't insert stack check preamble. NOSPLIT = 4 // Put this data in a read-only section. RODATA = 8 // This data contains no pointers. NOPTR = 16 // This is a wrapper function and should not count as disabling 'recover'. WRAPPER = 32 // This function uses its incoming context register. NEEDCTXT = 64 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.