ref

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Invoke

func Invoke(any interface{}, name string, args ...interface{}) (reflect.Value, error)

Invoke - firstResult, err := Invoke(AnyStructInterface, MethodName, Params...)

func Parse

func Parse(v interface{}) obj

func ParseTags

func ParseTags(tagString string, isStrict bool) (map[string]string, error)

Parse parses a custom tag string of struct.

Strict mode is a mode selector: It raises an error when an unacceptable custom tag string is given if the mode is true. On the other hand, if the mode is false, it immediately returns the processed results until just before the invalid custom tag syntax. It never raises any error.

func Wrap

func Wrap(v interface{}) wrapedStruct

Types

This section is empty.

Jump to

Keyboard shortcuts

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