This repository has been archived on 2024-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
core-old/internal/domain/domain.go
Dawid Wysokiński e468a1f391
All checks were successful
continuous-integration/drone/push Build is passing
feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/ennoblements (#71)
Reviewed-on: twhelp/core#71
2022-09-06 07:50:00 +00:00

29 lines
445 B
Go

package domain
import "time"
type NullBool struct {
Bool bool
Valid bool // Valid is true if Bool is not NULL
}
type NullInt64 struct {
Int64 int64
Valid bool // Valid is true if Int64 is not NULL
}
type NullInt32 struct {
Int32 int32
Valid bool // Valid is true if Int32 is not NULL
}
type NullTime struct {
Time time.Time
Valid bool // Valid is true if Time is not NULL
}
type Pagination struct {
Offset int32
Limit int32
}