sjqzhang / go-fastdfs

go-fastdfs 是一个简单的分布式文件系统(私有云存储),具有无中心、高性能,高可靠,免维护等优点,支持断点续传,分块上传,小文件合并,自动同步,自动修复。Go-fastdfs is a simple distributed file system (private cloud storage), with no center, high performance, high reliability, maintenance free and other advantages, support breakpoint continuation, block upload, small file merge, automatic synchronization, automatic repair.(similar fastdfs).
https://gitee.com/sjqzhang/go-fastdfs
The Unlicense
3.94k stars 747 forks source link

在go1.17.1等高版本环境,tusd的中间件函数名修改 #345

Closed lsm1103 closed 2 years ago

lsm1103 commented 2 years ago

环境:在go1.17.1+;

1、要跑本项目,需要先 go mod vendor 把自带的库放到mod管理的库中 2、手动下载 github.com/sjqzhang/tusd 库 go get -u github.com/sjqzhang/tusd 3、mod自动检查并下载相关库 go mod tidy 4、go get github.com/shirou/gopsutil/v3/disk@v3.21.4(可能要补上该库) 5、然后成功 go run main.go server

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sjqzhang commented 2 years ago

请重新更新项目,再进行编译。