12 lines
132 B
Go
12 lines
132 B
Go
|
package db
|
||
|
|
||
|
import (
|
||
|
"github.com/jinzhu/gorm"
|
||
|
)
|
||
|
|
||
|
// User describe the user model
|
||
|
type User struct {
|
||
|
gorm.Model
|
||
|
Username string
|
||
|
}
|