All checks were successful
continuous-integration/drone/push Build is passing
This isn't the full job, notably Operations are still sprinkled about, and having some code sharing between `service` and `service_internal` would be nice, but that is sketchy without the explicitness of Rust's traits. Reviewed-on: #196 Co-authored-by: Quaternions <krakow20@gmail.com> Co-committed-by: Quaternions <krakow20@gmail.com>
14 lines
214 B
Go
14 lines
214 B
Go
package model
|
|
|
|
type ResourceType int32
|
|
const (
|
|
ResourceUnknown ResourceType = 0
|
|
ResourceMapfix ResourceType = 1
|
|
ResourceSubmission ResourceType = 2
|
|
)
|
|
|
|
type Resource struct{
|
|
ID int64
|
|
Type ResourceType
|
|
}
|