You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dustoair e5589cc8b2
open src
3 years ago
.gitignore open src 3 years ago
README.md open src 3 years ago
go.mod open src 3 years ago
main.go open src 3 years ago

README.md

build

cd /root rm -rf goMinioUpload git clone https://git.sre.ink/go/goMinioUpload.git cd goMinioUpload CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on GOPROXY="https://goproxy.cn,direct" go build -v -a -o mupload main.go

deploy

cd /usr/bin/ rm -rf /usr/bin/mupload rz chmod +x /usr/bin/mupload

usage

chmod +x /usr/bin/mupload mupload test.txt

build for arm64

CGO_ENABLED=0 GOARM=7 GOOS=linux GOARCH=arm64 GO111MODULE=on GOPROXY="https://goproxy.cn,direct" go build -v -a -o mupload main.go