utils

package
v0.0.0-...-80ac902 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RE_NOT_SEPARATORS    = `[^[\s\.,:\*\+;\?\\\-—_\(\)\[\]{}<>'"#«»№\/!]+`
	RE_UNSUPPORTED_CHARS = `[\\\/\*\+\?]`
)

Variables

This section is empty.

Functions

func ParseBool

func ParseBool(str string) (value bool, err error)

func PrintJson

func PrintJson(object interface{})

func ReplaceUnsupported

func ReplaceUnsupported(str string) string

func SplitBySeparators

func SplitBySeparators(src string) []string

func UpperInitial

func UpperInitial(str string) string

func UpperInitialAll

func UpperInitialAll(src 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