Added the blob storage file struct
This commit is contained in:
parent
5824e47c1f
commit
09db7d6c31
1 changed files with 6 additions and 0 deletions
6
main.go
6
main.go
|
@ -12,3 +12,9 @@ type OAuthResponse struct {
|
|||
AppID string `json:"appId"`
|
||||
SecretKey string `json:"secretKey"`
|
||||
}
|
||||
|
||||
type File struct {
|
||||
Name string `validate:"required"`
|
||||
User uuid.UUID `validate:"required"`
|
||||
Bytes []byte // Only used in write operations
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue