slice

package
v0.0.0-...-23bb0a7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Difference

func Difference(sliceA []string, sliceB []string) []string

func IsContain

func IsContain(sliceA []string, element string) bool

func StructToFlatSlice

func StructToFlatSlice(prefix string, obj interface{}, result *[]KeyValue)

func StructToSortedFlatSlice

func StructToSortedFlatSlice(prefix string, obj interface{}, result *[]KeyValue)

func UnionString

func UnionString(slices ...[]string) []string

Types

type KeyValue

type KeyValue struct {
	Key   string
	Value string
}

type Runtime

type Runtime struct {
}

Jump to

Keyboard shortcuts

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