model

package
v0.0.0-...-e4b16ce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID    string `gorethink:"id,omitempty" json:"id"`
	Name  string `gorethink:"name"         json:"name"  form:"name" binding:"required"`
	Email string `gorethink:"email"        json:"email"  form:"email" binding:"required"`
}

User a model for storing a user's information

Jump to

Keyboard shortcuts

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