Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RestratingRrnMap is a map of attribute names in result type RestratingRrn // indexed by view name. RestratingRrnMap = map[string][]string{ "default": []string{ "rrn", }, } )
Functions ¶
func ValidateRestratingRrn ¶
func ValidateRestratingRrn(result *RestratingRrn) (err error)
ValidateRestratingRrn runs the validations defined on the viewed result type RestratingRrn.
func ValidateRestratingRrnView ¶
func ValidateRestratingRrnView(result *RestratingRrnView) (err error)
ValidateRestratingRrnView runs the validations defined on RestratingRrnView using the "default" view.
Types ¶
type RestratingRrn ¶
type RestratingRrn struct { // Type to project Projected *RestratingRrnView // View to render View string }
RestratingRrn is the viewed result type that is projected based on a view.
type RestratingRrnView ¶
type RestratingRrnView struct { // Rating Resource Name Rrn *string }
RestratingRrnView is a type that runs validations on a projected type.
Click to show internal directories.
Click to hide internal directories.