Add the quota type
This commit is contained in:
parent
bbe7a5f5cc
commit
f449c1e55c
1 changed files with 6 additions and 1 deletions
5
main.go
5
main.go
|
@ -22,3 +22,8 @@ type File struct {
|
|||
User uuid.UUID `validate:"required"`
|
||||
Bytes []byte // Only used in write operations
|
||||
}
|
||||
|
||||
type Quota struct {
|
||||
User uuid.UUID `validate:"required"`
|
||||
Bytes int64 `validate:"required"`
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue