fix: address branch review issues (json tags, share lockout, session expiry, file unlink)
This commit is contained in:
@@ -3,12 +3,12 @@ package store
|
||||
import "database/sql"
|
||||
|
||||
type File struct {
|
||||
ID string
|
||||
OriginalName string
|
||||
StorageName string
|
||||
Dir string
|
||||
Size int64
|
||||
CreatedAt int64
|
||||
ID string `json:"id"`
|
||||
OriginalName string `json:"name"`
|
||||
StorageName string `json:"-"`
|
||||
Dir string `json:"dir"`
|
||||
Size int64 `json:"size"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
}
|
||||
|
||||
func (s *Store) FileCreate(f *File) error {
|
||||
|
||||
Reference in New Issue
Block a user