util

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banner() error

func GetInner

func GetInner(s string, opens string, closes string) (string, error)

func IsEmptyLine

func IsEmptyLine(ln string) bool

func IsLineComment

func IsLineComment(ln string) bool

func TrimmedInnerSplit

func TrimmedInnerSplit(s string, opens string, closes string, sep string) ([]string, error)

func TrimmedSplit

func TrimmedSplit(ln string, sep string) ([]string, error)

func Untab

func Untab(s string) string

Types

type DictArgs

type DictArgs struct {
	DictName string
}

type RangeStringArgs

type RangeStringArgs struct {
	Min string
	Max string
}

func (RangeStringArgs) ToFloat

func (rsargs RangeStringArgs) ToFloat() (float64, float64, error)

func (RangeStringArgs) ToInt

func (rsargs RangeStringArgs) ToInt() (int64, int64, error)

Jump to

Keyboard shortcuts

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