github.com/goadesign/goa/examples/error/design
design
import "github.com/goadesign/goa/examples/error/design"
Overview
Index
Package files
Variables
var FloatOperands = Type("FloatOperands", func() {
Attribute("a", Float64, "Left operand")
Attribute("b", Float64, "Right operand")
Required("a", "b")
})
var IntOperands = Type("IntOperands", func() {
Attribute("a", Int, "Left operand")
Attribute("b", Int, "Right operand")
Required("a", "b")
})
Generated by godoc2md