utils

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingFileName = errors.New("missing file name")
)

Functions

func CreateFileWithContent added in v1.0.1

func CreateFileWithContent(content []byte, destinationFileName string, destinationPath string, mode os.FileMode, append bool, logger logger.Logger) (string, error)

func Format

func Format(str string, value builder.Interfacable, index *uint32, input builder.Interfacable) string

func ProcessExpression added in v0.0.43

func ProcessExpression(expression string, result builder.Interfacable, index *uint32, input builder.Interfacable) (builder.Interfacable, error)

func SafeNewSliceGenerator added in v0.0.31

func SafeNewSliceGenerator(begin, end, step int) []int

func String added in v0.0.26

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