Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MultiplyresponseMap is a map indexing the attribute names of // Multiplyresponse by view name. MultiplyresponseMap = map[string][]string{ "default": { "multiple", }, } )
Functions ¶
func ValidateMultiplyresponse ¶
func ValidateMultiplyresponse(result *Multiplyresponse) (err error)
ValidateMultiplyresponse runs the validations defined on the viewed result type Multiplyresponse.
func ValidateMultiplyresponseView ¶
func ValidateMultiplyresponseView(result *MultiplyresponseView) (err error)
ValidateMultiplyresponseView runs the validations defined on MultiplyresponseView using the "default" view.
Types ¶
type Multiplyresponse ¶
type Multiplyresponse struct { // Type to project Projected *MultiplyresponseView // View to render View string }
Multiplyresponse is the viewed result type that is projected based on a view.
type MultiplyresponseView ¶
type MultiplyresponseView struct { // Result of multiplication Multiple *int }
MultiplyresponseView is a type that runs validations on a projected type.
Click to show internal directories.
Click to hide internal directories.