util

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CHA = "abcdefghijklmnopqrstuvwxyz0123456789"

CHA map

Variables

This section is empty.

Functions

func ChooseIndex

func ChooseIndex(maxLen int) int

ChooseIndex return valid index in [0, maxLen)

func RandString

func RandString(n int) string

RandString n is the length. a-z 0-9

func Scanline

func Scanline() string

Scanline scan line

func ScanlineTrim

func ScanlineTrim() string

ScanlineTrim scan line and trim

Types

This section is empty.

Jump to

Keyboard shortcuts

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