strings

package
v0.51.3 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "strings"

Variables

This section is empty.

Functions

func LoadModule

func LoadModule() (starlark.StringDict, error)

func PadAlignStrings

func PadAlignStrings() []string

PadAlignStrings returns a slice of all String values of the enum

Types

type PadAlign

type PadAlign uint8
const (
	AlignStart PadAlign = iota
	AlignEnd
)

func PadAlignString

func PadAlignString(s string) (PadAlign, error)

PadAlignString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.

func PadAlignValues

func PadAlignValues() []PadAlign

PadAlignValues returns all values of the enum

func (PadAlign) IsAPadAlign

func (i PadAlign) IsAPadAlign() bool

IsAPadAlign returns "true" if the value is listed in the enum definition. "false" otherwise

func (PadAlign) String

func (i PadAlign) String() string

Jump to

Keyboard shortcuts

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