Documentation
¶
Index ¶
- Constants
- func BuildUrlParams(p interface{}) string
- func ByteConversion(fileSize uint64) (size string)
- func CheckIpPort(s string) error
- func FloatRound(f float64, n int) float64
- func GBByteConversion(size uint64) string
- func GetIp(s string) string
- func Must(err error, ctxinfo ...interface{})
- func Percentage(used, total uint64) string
Constants ¶
View Source
const (
LayoutDefault = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
func BuildUrlParams ¶
func BuildUrlParams(p interface{}) string
func ByteConversion ¶
func CheckIpPort ¶
func FloatRound ¶
func GBByteConversion ¶
func Percentage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.