package
1.0.12
Repository: https://github.com/basicfu/gf.git
Documentation: pkg.go.dev

# README

# Functions

AddConversion mothod allows registering a custom `Converter` into the global `converterMap` by supplying pointers of the target types.
AddConversionByType allows registering a custom `Converter` into golbal `converterMap` by types.
AddNoTraverseType method adds the Go Lang type into global `NoTraverseTypeList`.
Clone method creates a clone of given `struct` object.
Copy method copies all the exported field values from source `struct` into destination `struct`.
Fields method returns the exported struct fields from the given `struct`.
Get method returns a field value from `struct` by field name.
HasZero method returns `true` if any one of the exported fields in a given `struct` is zero value otherwise `false`.
IsZero method returns `true` if all the exported fields in a given `struct` are zero value otherwise `false`.
IsZeroInFields method verifies the value for the given list of field names against given struct.
Kind method returns `reflect.Kind` for the given field name from the `struct`.
Map method converts all the exported field values from the given `struct` into `map[string]interface{}`.
RemoveConversion registered conversions.
RemoveNoTraverseType method is used to remove Go Lang type from the `NoTraverseTypeList`.
Set method sets a value into field on struct by field name.
Tag method returns the exported struct field `Tag` value from the given struct.
Tags method returns the exported struct fields `Tag` value from the given struct.

# Constants

NoTraverse option makes sure the go-model library to not to traverse inside the struct object.
OmitEmpty option is used skip field(s) from output if it's zero value.
OmitField value is used to omit field(s) from processing.
TagName is used to mention field options for go-model library.

# Variables

Version # of go-model library.

# Type aliases

Converter is used to provide custom mappers for a datatype pair.