20 lines
485 B
Go
20 lines
485 B
Go
package v1
|
|
|
|
import "time"
|
|
|
|
// User represents a user account
|
|
type User struct {
|
|
ID string `json:"id"`
|
|
Email string `json:"email"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|
|
|
|
type UserSettings struct {
|
|
UserID string `json:"user_id"`
|
|
WorkspaceID string `json:"workspace_id"`
|
|
BoardID string `json:"board_id"`
|
|
RepositoryIDs []string `json:"repository_ids"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|