add personal address
This commit is contained in:
1 parent
50d1ba630e
commit
d2a153536f
17 files changed
+239
-50
No files matched your search
@@ -6,15 +6,15 @@ import (
|
||||
)
|
||||
|
||||
type File struct {
|
||||
ID string `db:"id" json:"id"`
|
||||
Name string `db:"name" json:"name"`
|
||||
ContentType string `db:"content_type" json:"contentType"`
|
||||
StoragePath string `db:"storage_path" json:"-"`
|
||||
StorageFilename string `db:"storage_filename" json:"-"`
|
||||
Content []byte `db:"content" json:"-"`
|
||||
DateCreated time.Time `db:"date_created" json:"-"`
|
||||
DateUpdated time.Time `db:"date_updated" json:"-"`
|
||||
VersionId string `db:"_version" json:"-"`
|
||||
ID string `db:"id" json:"id"`
|
||||
Name string `db:"name" json:"name"`
|
||||
ContentType string `db:"content_type" json:"contentType"`
|
||||
StoragePath string `db:"storage_path" json:"-"`
|
||||
StorageFilename string `db:"storage_filename" json:"-"`
|
||||
Content []byte `db:"content" json:"-"`
|
||||
DateCreated time.Time `db:"date_created" json:"-"`
|
||||
DateUpdated *time.Time `db:"date_updated" json:"-"`
|
||||
VersionId string `db:"_version" json:"-"`
|
||||
}
|
||||
|
||||
type FileRepository interface {
|
||||
|
||||
Reference in new issue
Block a user