structs

package
v0.0.0-...-9ac2298 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(structInstance interface{}, fields map[string]interface{}) interface{}

func Clone

func Clone(structInstance interface{}) interface{}

func Get

func Get(structInstance interface{}, fieldName string) interface{}

func Has

func Has(structInstance interface{}, fieldName string) bool

func HasEmpty

func HasEmpty(structInstance interface{}, fieldName string) bool

func Merge

func Merge(structs ...interface{}) interface{}

func Remove

func Remove(structInstance interface{}, fields ...string) interface{}

func Set

func Set(structInstance interface{}, fieldName string, value interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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