strutils

package module
v0.0.0-...-8311092 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 2 Imported by: 0

README

String utils for golang

Usage:

import "github.com/gojetpack/strutils"

Random string

// Generate a random string
strutils.GenRandStr(20)
// -> i.e: "jdpcMaueYc5a9f3d32ws"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenRandStr

func GenRandStr(length int) string

Generate a random string

func GenRandStrCustom

func GenRandStrCustom(length int, charset string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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