fix: add interface type check
This commit is contained in:
parent
d06f436fa1
commit
f22506b413
|
@ -13,6 +13,8 @@ import (
|
||||||
|
|
||||||
var ErrNotFound = gorm.ErrRecordNotFound
|
var ErrNotFound = gorm.ErrRecordNotFound
|
||||||
|
|
||||||
|
var _ MetadataService = (*MetadataServiceDefault)(nil)
|
||||||
|
|
||||||
type UploadMetadata struct {
|
type UploadMetadata struct {
|
||||||
ID uint `json:"upload_id"`
|
ID uint `json:"upload_id"`
|
||||||
UserID uint `json:"user_id"`
|
UserID uint `json:"user_id"`
|
||||||
|
|
Loading…
Reference in New Issue