gofieldmapper

package module
v0.0.0-...-cde56de Latest Latest
Warning

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

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

README

In development

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOptKeyValue

func GetOptKeyValue(tag string, key string) string

func Make

func Make(obj any, rules ...FieldRule) (map[string]any, error)

Types

type FieldRule

type FieldRule func(value any, tag string, opts string) (k string, v any, ok bool)

func WithMask

func WithMask(mask []string) FieldRule

func WithOmit

func WithOmit() FieldRule

Jump to

Keyboard shortcuts

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