User creates a user and returns a builder for applications and clients.
(id uint)
| 46 | |
| 47 | // User creates a user and returns a builder for applications and clients. |
| 48 | func (d *Database) User(id uint) *AppClientBuilder { |
| 49 | d.NewUser(id) |
| 50 | return &AppClientBuilder{db: d, userID: id} |
| 51 | } |
| 52 | |
| 53 | // NewUser creates a user and returns the user. |
| 54 | func (d *Database) NewUser(id uint) *model.User { |