resolve

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Iterable defines the types that can be a slice,
	// by a comma delimited Original Value (1,2,3).
	Iterable = []string{
		"category",
		"image",
		"post",
		"user",
		"tags",
	}
	// Choice defines the types that can be transformed
	// into a `choice` struct.
	Choice = []string{
		"button_group",
		"radio",
		"select",
	}
)

Functions

func Field

func Field(field domain.PostField, d *deps.Deps) domain.PostField

Field

Resolve's a field value.

Types

type Value

type Value struct {
	// contains filtered or unexported fields
}

Value defines the methods used for resolving domain.FieldValue's. The store is required for use with DB calls such as Posts.

Jump to

Keyboard shortcuts

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