Formatting

This commit is contained in:
Jannis Mattheis 2018-02-11 12:11:09 +01:00 committed by Jannis Mattheis
parent 082b054f4c
commit 28584184b1
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ type Notifier interface {
// The MessageAPI provides handlers for managing messages.
type MessageAPI struct {
DB MessageDatabase
DB MessageDatabase
Notifier Notifier
}

View File

@ -2,7 +2,7 @@ package model
// The User holds information about the credentials of a user and its application and client tokens.
type User struct {
ID uint `gorm:"primary_key;unique_index;AUTO_INCREMENT"`
ID uint `gorm:"primary_key;unique_index;AUTO_INCREMENT"`
Name string `gorm:"unique_index"`
Pass []byte
Admin bool