models

package
v0.0.0-...-33e0837 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postit

type Postit struct {
	ID         int       `json:"id" form:"id"`
	Content    string    `json:"content" form:"content"`
	Color      string    `json:"color" form:"color"`
	UserID     int       `json:"userId" form:"userId"`
	CategoryID null.Int  `json:"category" form:"category"`
	CreatedAt  time.Time `json:"createdAt" form:"createdAt"`
	UpdatedAt  time.Time `json:"updatedAt" form:"updatedAt"`
}

Postit model

type PostitGroup

type PostitGroup struct {
	ID   int    `json:"id" form:"id"`
	Name string `json:"name" form:"name"`
}

PostitGroup model

type User

type User struct {
	UserID    int    `json:"userId" form:"userId"`
	Firstname string `json:"firstName" form:"firstName"`
	Lastname  string `json:"lastName" form:"lastName"`
	Email     string `json:"email" form:"email"`
	Password  string `json:"password" form:"password"`
}

User model

Jump to

Keyboard shortcuts

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