str

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelString

func CamelString(s string) string

func GenJid

func GenJid() string

生成时间的唯一 20 长度的 id

func KvToStr

func KvToStr(m map[string]string, sep, pair string, order ...string) string

func Md5

func Md5(s string) string

md5 加密字符串

func Sha1

func Sha1(s string) string

sha1 加密字符串

func Split

func Split(s string) []string

func StrToKv

func StrToKv(s, sep, pair string) map[string]string

func Ucfirst

func Ucfirst(s string) string

首字母大写

func UniqueId

func UniqueId() string

全局唯一 id

func UniqueIdShort

func UniqueIdShort() string

全局唯一 短id

Types

This section is empty.

Jump to

Keyboard shortcuts

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