tools

package
v0.0.0-...-ce453ac Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonPrefix

func CommonPrefix(str1, str2 string) string

func ContainsStringValue

func ContainsStringValue(slice []string, value string) bool

func FindIntersection

func FindIntersection(arr1 []string, arr2 []string) []string

func IsEqualStringArrays

func IsEqualStringArrays(arr1 []string, arr2 []string) bool

func IsSubset

func IsSubset(arr1 []string, arr2 []string) bool

func MarshalStruct

func MarshalStruct(data interface{}) string

func MergeArrays

func MergeArrays(arr1 []string, arr2 []string) []string

func PBool

func PBool(value bool) *bool

func PInt

func PInt(value int) *int

func PString

func PString(value string) *string

func StringArrayDifference

func StringArrayDifference(arr1 []string, arr2 []string) []string

func TimestampToTime

func TimestampToTime(sec *int) *time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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