20 lines
235 B
Go
20 lines
235 B
Go
package dto
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type User struct {
|
|
ID uuid.UUID
|
|
Username string
|
|
DisplayName string
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type CreateUser struct {
|
|
Username string
|
|
DisplayName string
|
|
}
|