helper

package
v0.0.0-...-415d151 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, e string) bool

func ConvertStringToSlice

func ConvertStringToSlice(value interface{}) []string

func GetDecoder

func GetDecoder(result interface{}) (*mapstructure.Decoder, error)

func ParseHumanDatetime

func ParseHumanDatetime(raw string, dflt *carbon.Carbon) (*carbon.Carbon, error)

func RandInt

func RandInt(min int, max int) int

func RandomString

func RandomString(length int) string

func StringWithCharset

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