flag

package
v0.0.0-...-df7b6ad Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoEmbedded

func NoEmbedded(tagName string) structmap.Behavior

NoEmbedded treat embedded struct as non embedded struct and get it's value from root of map Only for fields marked with the flag: noembedded Example: `tagName:",noembedded"`

func Required

func Required(tagName string) structmap.Behavior

Required checks if the value to be filled in the structure is present, otherwise an exception will be thrown. Only for fields marked with the flag: required Example: `tagName:",required"`

Types

This section is empty.

Jump to

Keyboard shortcuts

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