File tree 11 files changed +16
-8
lines changed
11 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: testing
5
5
steps :
6
6
- name : vet
7
7
pull : always
8
- image : golang:1.17
8
+ image : golang:1.19
9
9
commands :
10
10
- make vet
11
11
volumes :
14
14
15
15
- name : lint
16
16
pull : always
17
- image : golang:1.17
17
+ image : golang:1.19
18
18
commands :
19
19
- make lint
20
20
volumes :
23
23
24
24
- name : misspell
25
25
pull : always
26
- image : golang:1.17
26
+ image : golang:1.19
27
27
commands :
28
28
- make misspell-check
29
29
volumes :
32
32
33
33
# - name: test
34
34
# pull: always
35
- # image: golang:1.17
35
+ # image: golang:1.19
36
36
# commands:
37
37
# - make test
38
38
# volumes:
@@ -54,7 +54,7 @@ platform:
54
54
steps :
55
55
- name : build-all-binary
56
56
pull : always
57
- image : golang:1.17
57
+ image : golang:1.19
58
58
commands :
59
59
- make release
60
60
when :
Original file line number Diff line number Diff line change 35
35
36
36
lint :
37
37
@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 ; \
39
39
fi
40
40
revive -config .revive.toml ./... || exit 1
41
41
42
42
.PHONY : misspell-check
43
43
misspell-check :
44
44
@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 ; \
46
46
fi
47
47
misspell -error $(SOURCES )
48
48
Original file line number Diff line number Diff line change
1
+ // Package cloud 支持的云平台
1
2
package cloud
2
3
3
4
import (
Original file line number Diff line number Diff line change
1
+ // Package cloud 支持的云平台
1
2
package cloud
2
3
3
4
// CommInterface 基础接口
Original file line number Diff line number Diff line change
1
+ // Package cloud 支持的云平台
1
2
package cloud
2
3
3
4
import (
Original file line number Diff line number Diff line change
1
+ // Package cloud 支持的云平台
1
2
package cloud
2
3
3
4
import (
Original file line number Diff line number Diff line change
1
+ // Package config 配置包
1
2
package config
2
3
3
4
import (
Original file line number Diff line number Diff line change
1
+ // Package config 配置包
1
2
package config
2
3
3
4
import (
Original file line number Diff line number Diff line change 1
1
module github.com/cnbattle/upcloud
2
2
3
- go 1.17
3
+ go 1.19
4
4
5
5
require (
6
6
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1822
Original file line number Diff line number Diff line change
1
+ // Package main 主包
1
2
package main
2
3
3
4
import (
Original file line number Diff line number Diff line change
1
+ // Package utils 工具包
1
2
package utils
2
3
3
4
import (
You can’t perform that action at this time.
0 commit comments