structs

package
v0.0.0-...-552ec7c Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillStruct

func FillStruct(data map[string]interface{}, obj interface{}) error

func ToMapStr

func ToMapStr(in interface{}, fields ...string) (map[string]string, error)

ToMapStr convert struct to map[string][string] for redis hash, if tag is null, key is snake format tag: `map:"key,omitempty"`

Types

This section is empty.

Jump to

Keyboard shortcuts

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