Personal fork of the mighty, self-hostable Git server for the command line 🍦
1package models 2 3import "time" 4 5// User represents a user. 6type User struct { 7 ID int64 `db:"id"` 8 Username string `db:"username"` 9 Admin bool `db:"admin"` 10 CreatedAt time.Time `db:"created_at"` 11 UpdatedAt time.Time `db:"updated_at"` 12}