myString

package
v0.0.0-...-708d9d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Millisecond int64 = 1
	Second            = 1000 * Millisecond
	Minute            = 60 * Second
	Hour              = 60 * Minute
	Day               = 24 * Hour
)

常量定义

Variables

This section is empty.

Functions

func Slice

func Slice(str string, start, length int) string

Slice 支持负数转换

func SliceList

func SliceList(l []string, slice int) [][]string

SliceList 数组切片

func TransTimeFormat2Int

func TransTimeFormat2Int(delayTime string) (int64, error)

TransTimeFormat2Int 时间转换

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL