save 도 public으로 변경
This commit is contained in:
@ -37,7 +37,7 @@ type FileDocumentDesc struct {
|
||||
Contents []byte `bson:"contents,omitempty" json:"contents,omitempty"`
|
||||
}
|
||||
|
||||
func (fd *FileDocumentDesc) save() error {
|
||||
func (fd *FileDocumentDesc) Save() error {
|
||||
// 새 파일 올라옴
|
||||
if len(fd.Contents) == 0 {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user