utils

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeStringSliceToMap

func MergeStringSliceToMap(m map[string][]interface{}, k string, v []interface{})

MergeStringSliceToMap merges a string slice to a map with a string key and a slice of interfaces. If the key does not exist, it creates a new key-value pair. If the key exists, it appends the slice to the existing slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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