package
0.0.0-20201020011259-aba033f76660
Repository: https://github.com/qorx/qor.git
Documentation: pkg.go.dev

# Functions

ConvertFormToMetaValues convert form to meta values.
ConvertJSONToMetaValues convert json to meta values.
Decode decode context to result according to resource definition.
DecodeToResource decode meta values to resource result.
New initialize qor resource.

# Variables

ErrProcessorSkipLeft skip left processors error, if returned this error in validation, before callbacks, then qor will stop process following processors.

# Structs

Meta meta struct definition.
MetaConfig base meta config struct.
MetaValue a struct used to hold information when convert inputs from HTTP form, JSON, CSV files and so on to meta values It will includes field name, field value and its configured Meta, if it is a nested resource, will includes nested metas in its MetaValues.
MetaValues is slice of MetaValue.
Processor processor struct.
Resource is a struct that including basic definition of qor resource.
Validator validator struct.

# Interfaces

ConfigureMetaBeforeInitializeInterface if a struct's field's type implemented this interface, it will be called when initializing a meta.
ConfigureMetaInterface if a struct's field's type implemented this interface, it will be called after configed.
ConfigureResourceBeforeInitializeInterface if a struct implemented this interface, it will be called before everything when create a resource with the struct.
ConfigureResourceInterface if a struct implemented this interface, it will be called after configured by user.
MetaConfigInterface meta configuration interface.
Metaor interface.
Resourcer interface.