14 lines
247 B
Go
14 lines
247 B
Go
package model
|
|
|
|
import "encoding/gob"
|
|
|
|
func init() {
|
|
gob.Register((*Point)(nil))
|
|
}
|
|
|
|
type Point struct {
|
|
Username string `json:"username"`
|
|
Email string `json:"email"`
|
|
Password []byte `json:"-"`
|
|
AuthString string `json:"auth_string"`
|
|
}
|