strutil

package
v0.1.458 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultIfEmpty

func DefaultIfEmpty(input string, defaultValue string) string

func DefaultIfEmptyOrNil

func DefaultIfEmptyOrNil(input *string, defaultValue string) string

func EmptyIfNil

func EmptyIfNil(input *string) string

func EnsureSuffix

func EnsureSuffix(input string, suffix string) string

func FalseIfNil

func FalseIfNil(input *bool) bool

func NilIfEmpty

func NilIfEmpty(input string) *string

func NilIfEmptyPointer

func NilIfEmptyPointer(input *string) *string

func NilIfFalse

func NilIfFalse(input bool) *bool

func ParseBool

func ParseBool(input string) bool

func ParseBoolPointer

func ParseBoolPointer(input *string) *bool

func UnEscapeDollar

func UnEscapeDollar(fileMap map[string]string) map[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