utils

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldTagNames

func FieldTagNames(fields []*structs.Field, tag string) (names []string)

FieldTagNames returns a slice of the tag names for a []*structs.Field and the given tag

func MergeMaps

func MergeMaps(overwrite bool, mm ...map[string]any) map[string]any

MergeMaps merges two or more maps into on; overwrite determines if values are overwritten if already set or not

Types

This section is empty.

Jump to

Keyboard shortcuts

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