'...'
This commit is contained in:
17
.travis.yml
17
.travis.yml
@@ -1,17 +0,0 @@
|
||||
language: go
|
||||
dist: aliyun_oss
|
||||
go:
|
||||
- 1.14
|
||||
- 1.15
|
||||
|
||||
env:
|
||||
- GO111MODULE=on
|
||||
|
||||
before_install:
|
||||
- go get github.com/aliyun/aliyun-oss-go-sdk
|
||||
- go get github.com/satori/go.uuid
|
||||
- go get golang.org/x/time
|
||||
|
||||
script:
|
||||
# - go test -v -cover
|
||||
- $HOME/gopath/bin/goveralls -v -service=travis-ci
|
||||
@@ -1,13 +1,13 @@
|
||||
# golang_aliyunoss
|
||||
# aliyun_oss
|
||||
|
||||
#about golang_aliyunoss
|
||||
#about aliyun_oss
|
||||
|
||||
对阿里云oss-golang sdk 进行上传、删除的简单封装,便于使用
|
||||
上传使用字节流,内自带 *os.File | *multipart.FileHeader 文件类型转字节流,
|
||||
传递文件路径 例如:./test.png 。测试案例oss_test.go中有不同操作的案例
|
||||
|
||||
#install
|
||||
go get github.com/soapBubbleCoward/golang_aliyunoss
|
||||
go get github.com/soapBubbleCoward/aliyun_oss
|
||||
|
||||
#example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user