소문자 변경
This commit is contained in:
16
core/api.go
16
core/api.go
@ -29,14 +29,14 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type fileDocumentDesc struct {
|
type fileDocumentDesc struct {
|
||||||
Service string
|
Service string `bson:"service" json:"service"`
|
||||||
Key string
|
Key string `bson:"key" json:"key"`
|
||||||
Src string
|
Src string `bson:"src" json:"src"`
|
||||||
Link string
|
Link string `bson:"link" json:"link"`
|
||||||
Desc string
|
Desc string `bson:"desc" json:"desc"`
|
||||||
Extract bool
|
Extract bool `bson:"extract" json:"extract"`
|
||||||
Timestamp int64
|
Timestamp int64 `bson:"timestamp" json:"timestamp"`
|
||||||
Contents []byte `json:",omitempty"`
|
Contents []byte `bson:"contents,omitempty" json:"contents,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (fd *fileDocumentDesc) save() error {
|
func (fd *fileDocumentDesc) save() error {
|
||||||
|
|||||||
Reference in New Issue
Block a user