utils

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MIT Imports: 2 Imported by: 1

README

Util

提供常用工具方法


快速上手

String(字符串相关)
RandStringRunes(length int) string
描述

返回随机字符串

参数
  • length 字符串长度

Time(时间相关)
GetMillisecond() int64

获取毫秒数

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMillisecond

func GetMillisecond() int64

GetMillisecond 获取毫秒数

func RandStringRunes

func RandStringRunes(length int) string

RandStringRunes 返回随机字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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