utils

package
v0.0.0-...-feb165f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const TimeFormat = "2006-01-02 15:04:05"

TimeFormat a

Variables

This section is empty.

Functions

func Md5

func Md5(buf []byte) string

Md5 string

func ParTime

func ParTime(dataStr string) (timer time.Time, err error)

ParTime time

func ParseTime

func ParseTime(strtime string) (end time.Time, err error)

ParseTime func

func RemoveRep

func RemoveRep(slc []string) []string

RemoveRep a

func RemoveRepByLoop

func RemoveRepByLoop(slc []string) []string

RemoveRepByLoop a

func RemoveRepByMap

func RemoveRepByMap(slc []string) []string

RemoveRepByMap a

func TimeFormater

func TimeFormater(timer string) string

TimeFormater a

Types

This section is empty.

Jump to

Keyboard shortcuts

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