str

package
v0.0.0-...-b49207b Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToInt

func ConvertToInt(str string) (int, error)

ConvertToInt converts given string into an integer. Returns 0 and a nil error on an empty string. Returns an error when the given string is not an integer.

func ConvertToUint

func ConvertToUint(str string) (uint, error)

ConvertToUint converts given string into an unsigned integer. Returns 0 and a nil error on an empty string. Returns an error when the given string is not an unsigned integer.

func RandomAlphaString

func RandomAlphaString(length int) (string, error)

func ToLowerSnakeCase

func ToLowerSnakeCase(str 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