structures

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandStringList

func ExpandStringList(values []string) []string

func ExpandStringValue

func ExpandStringValue(value string) string

func MapKeys

func MapKeys[M ~map[K]V, K comparable, V any](m M) []K

MapKeys returns the keys of the map m. The keys will be an indeterminate order.

Types

type Dictionary

type Dictionary map[string]any

func (Dictionary) GetStringList

func (dic Dictionary) GetStringList(key string) (values []string, err error)

func (Dictionary) GetStringValue

func (dic Dictionary) GetStringValue(key string) (value string, err error)

Jump to

Keyboard shortcuts

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