소스 검색

feat: 显示 将会上传到对象存储中 (#86)

* feat: 显示 将会上传到对象存储中

* docs: typo

---------

Co-authored-by: jeessy2 <[email protected]>
jeessy2 2 년 전
부모
커밋
fa02eb2924
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      entity/s3_config.go

+ 2 - 0
entity/s3_config.go

@@ -107,6 +107,8 @@ func (s3Config S3Config) UploadFile(fileName string) {
 		return
 	}
 
+	log.Printf("%s 正在上传至对象存储中...\n", fileName)
+
 	file, err := os.Open(fileName)
 	if err != nil {
 		log.Println(err)