Documentation ¶
Index ¶
- Constants
- func BuildCmdLine(commandName string, args ...[]byte) [][]byte
- func ComputeCapacity(param int) (size int)
- func ExecDir() string
- func FileExists(filename string) bool
- func Fnv32(key string) uint32
- func Logo() string
- func MakeDir(src string) error
- func OpenFile(fileName, dir string) (*os.File, error)
- func RandString(n int) string
Constants ¶
View Source
const ( Yellow = "\033[33m" Reset = "\033[0m" )
View Source
const ( DateTimeFormat = "2006-01-02 15:04:05" DateFormat = "2006-01-02" TimeFormat = "15:04:05" CRLF = "\r\n" )
Variables ¶
This section is empty.
Functions ¶
func BuildCmdLine ¶
func ComputeCapacity ¶
计算比param参数大,并满足是2的N次幂, 最近接近param的数值size
func FileExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.