d821d392/user/user_gen.go
1970-01-01 00:00:00 +00:00

28 lines
504 B
Go

package user
// AUTO GENERATED
// DO NOT EDIT
import (
"fmt"
"time"
)
type User struct {
Id int `db:"id"`
Email string `db:"email"`
Password string `db:"password"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
}
func (s *User) String() string {
return fmt.Sprint("User{ ",
"Id: ", s.Id, ", ",
"Email: ", s.Email, ", ",
"Password: ", s.Password, ", ",
"CreatedAt: ", s.CreatedAt, ", ",
"UpdatedAt: ", s.UpdatedAt, ", ",
"}")
}