strhelper

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyArray = errors.New("cannot parse zero length string")
View Source
var ErrEmptySeparator = errors.New("separator cannot be empty")
View Source
var ErrEmptyValue = errors.New("field value cannot be empty")

Functions

func ToBoolean

func ToBoolean(value string) bool

func ToInt

func ToInt(value string) (int, error)

func ToStringArray

func ToStringArray(value string) ([]string, error)

func ToStringArrayF

func ToStringArrayF(value string, separator string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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