save 도 public으로 변경

This commit is contained in:
2023-06-27 19:13:10 +09:00
parent 31782578f4
commit 6eed2be7f4
3 changed files with 3 additions and 3 deletions

View File

@ -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