model

package
v0.0.0-...-ee24a41 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package model provides the data model of the Account object

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID        bson.ObjectId `json:"accountid" bson:"_id"`
	Username  string        `json:"username" bson:"username"`
	FirstName string        `json:"firstname" bson:"firstname"`
	LastName  string        `json:"lastname" bson:"lastname"`
	Email     string        `json:"email" bson:"email"`
	When      time.Time     `json:"when" bson:"when"`
}

Account is a struct defining a user account

Jump to

Keyboard shortcuts

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