str

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 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 Kv2str added in v1.2.1

func Kv2str(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 Str2kv added in v1.2.1

func Str2kv(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