Documentation ¶
Index ¶
- Constants
- func Btoi(x bool) uint32
- func ErrorJSON(err error) map[string]any
- func FatalIf(err error)
- func FileExists(s string) (bool, error)
- func FileFallback(path ...string) string
- func GetIpFromAddress(s string) string
- func Hostname() string
- func IsDirEmpty(p string) (bool, error)
- func ParseFloat64(s string) (float64, error)
- func ParseInt64(s string) (int64, error)
- func ParseUint32(s string) (uint32, error)
- func ParseUint64(s string) (uint64, error)
- func SafeFilename(filename string) string
- func SplitNewline(c rune) bool
- func SplitSpace(c rune) bool
Constants ¶
View Source
const TimeFormat = "2006-01-02T15:04:05"
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func FileFallback ¶
func GetIpFromAddress ¶
func IsDirEmpty ¶
func ParseFloat64 ¶
func ParseInt64 ¶
func ParseUint32 ¶
func ParseUint64 ¶
func SafeFilename ¶
func SplitNewline ¶
func SplitSpace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.