str

package
v0.0.0-...-0d658de Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddInSlice

func AddInSlice(stringSlice []string, str string) []string

func DocumentClean

func DocumentClean(docuemnt string) string

func DocumentPad

func DocumentPad(document string) string

pad start: 14 positions - 00000000000000

func DocumentValid

func DocumentValid(docuemnt string) bool

func Dump

func Dump(stc any)

func FindInSlice

func FindInSlice(stringSlice []string, str string) string

func MixStrings

func MixStrings(str1, str2 string) (mix string)

func OnlyNumbers

func OnlyNumbers(str string) string

func PadCategory

func PadCategory(ctg string) string

pad start: 4 positions - 0000

func PadDay

func PadDay(day int) string

pad start: 2 positions - 00

func PadMonth

func PadMonth(month int) string

pad start: 2 positions - 00

func PadTimestamp

func PadTimestamp(timestamp int64) string

pad start: 10 positions : 0000000000

func PadTimestampNano

func PadTimestampNano(timestamp int64) string

pad start: 19 positions - 0000000000000000000

func PadVersion

func PadVersion(version string) string

pad end: 4 positions - 0000

func PadYear

func PadYear(year int) string

pad start: 4 positions - 0000

func Regex

func Regex(regex *regexp.Regexp, value string) bool

func RemoveInSlice

func RemoveInSlice(stringSlice []string, str string) []string

func SliceToJson

func SliceToJson(stringSlice []string) string

func String

func String(str any) string

func Substring

func Substring(input string, start int, end int) string

func UniqueInSlice

func UniqueInSlice(s []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