models

package
v0.0.0-...-cd49cae Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2018 License: MIT Imports: 1 Imported by: 2

Documentation

Overview

Package models contains the structures of data which is stored in the database and sent and received via HTTP requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Preregistration

type Preregistration struct {
	Email     string    `json:"email"`
	Timestamp time.Time `json:"timestamp"`
}

Preregistration represents the preregistration that is stored in the database.

The difference between the model in the database and the initial POST is that we color it with the timestamp.

Jump to

Keyboard shortcuts

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