design

package
v0.0.0-...-bae6b37 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var User = MediaType("application/vnd.user+json", func() {
	UseTrait("UserTrait")
	View("default", func() {
		Attribute("name")
		Attribute("email")
		Attribute("age")
		Attribute("sex")
	})
})
View Source
var UserCreatePayload = Type("UserCreatePayload", func() {
	UseTrait("UserTrait")
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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