Skip to content

Commit 190b9c2

Browse files
committed
fix
1 parent c136362 commit 190b9c2

11 files changed

+16
-8
lines changed

.drone.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: testing
55
steps:
66
- name: vet
77
pull: always
8-
image: golang:1.17
8+
image: golang:1.19
99
commands:
1010
- make vet
1111
volumes:
@@ -14,7 +14,7 @@ steps:
1414

1515
- name: lint
1616
pull: always
17-
image: golang:1.17
17+
image: golang:1.19
1818
commands:
1919
- make lint
2020
volumes:
@@ -23,7 +23,7 @@ steps:
2323

2424
- name: misspell
2525
pull: always
26-
image: golang:1.17
26+
image: golang:1.19
2727
commands:
2828
- make misspell-check
2929
volumes:
@@ -32,7 +32,7 @@ steps:
3232

3333
# - name: test
3434
# pull: always
35-
# image: golang:1.17
35+
# image: golang:1.19
3636
# commands:
3737
# - make test
3838
# volumes:
@@ -54,7 +54,7 @@ platform:
5454
steps:
5555
- name: build-all-binary
5656
pull: always
57-
image: golang:1.17
57+
image: golang:1.19
5858
commands:
5959
- make release
6060
when:

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ vet:
3535

3636
lint:
3737
@hash revive > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
38-
$(GO) get -u github.com/mgechev/revive; \
38+
$(GO) install github.com/mgechev/revive@latest; \
3939
fi
4040
revive -config .revive.toml ./... || exit 1
4141

4242
.PHONY: misspell-check
4343
misspell-check:
4444
@hash misspell > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
45-
$(GO) get -u github.com/client9/misspell/cmd/misspell; \
45+
$(GO) install github.com/client9/misspell/cmd/misspell@latest; \
4646
fi
4747
misspell -error $(SOURCES)
4848

cloud/aliyun.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package cloud 支持的云平台
12
package cloud
23

34
import (

cloud/interface.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package cloud 支持的云平台
12
package cloud
23

34
// CommInterface 基础接口

cloud/qiniu.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package cloud 支持的云平台
12
package cloud
23

34
import (

cloud/tencent.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package cloud 支持的云平台
12
package cloud
23

34
import (

config/config.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package config 配置包
12
package config
23

34
import (

config/init.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package config 配置包
12
package config
23

34
import (

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cnbattle/upcloud
22

3-
go 1.17
3+
go 1.19
44

55
require (
66
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1822

select_interface.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package main 主包
12
package main
23

34
import (

utils/local.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package utils 工具包
12
package utils
23

34
import (

0 commit comments

Comments
 (0)