summaryrefslogblamecommitdiff
path: root/pkg/models/user.go
blob: 5eacd7e63b188a9f86454b956ad54deacabb74a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                              
package models

import (
	"encoding/gob"

	"go.neonxp.ru/objectid"
)

func init() {
	gob.Register(new(User))
}

type User struct {
	ID       objectid.ID `json:"id"`
	Email    string      `json:"email"`
	Password []byte      `json:"password"`
}