str_utils

package
v0.0.0-...-ba78406 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendOutputByFormat

func AppendOutputByFormat(outputs []string, data interface{}, format string) []string

func GetTable

func GetTable() (tableString *strings.Builder, table *tablewriter.Table)

func OutputByFormat

func OutputByFormat(data interface{}, format string)

func ParseLastSecondValue

func ParseLastSecondValue(s string) string

func ParseLastValue

func ParseLastValue(s string) string

func ParseRangeFormatStr

func ParseRangeFormatStr(str string) (ints []int)

func SplitColon

func SplitColon(str string) (strs []string)

func SplitSpace

func SplitSpace(str string) (strs []string)

func SplitSpaceColon

func SplitSpaceColon(str string) (strs []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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