Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cnbattle committed Oct 21, 2022
1 parent c136362 commit 190b9c2
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: testing
steps:
- name: vet
pull: always
image: golang:1.17
image: golang:1.19
commands:
- make vet
volumes:
Expand All @@ -14,7 +14,7 @@ steps:

- name: lint
pull: always
image: golang:1.17
image: golang:1.19
commands:
- make lint
volumes:
Expand All @@ -23,7 +23,7 @@ steps:

- name: misspell
pull: always
image: golang:1.17
image: golang:1.19
commands:
- make misspell-check
volumes:
Expand All @@ -32,7 +32,7 @@ steps:

# - name: test
# pull: always
# image: golang:1.17
# image: golang:1.19
# commands:
# - make test
# volumes:
Expand All @@ -54,7 +54,7 @@ platform:
steps:
- name: build-all-binary
pull: always
image: golang:1.17
image: golang:1.19
commands:
- make release
when:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ vet:

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

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

Expand Down
1 change: 1 addition & 0 deletions cloud/aliyun.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package cloud 支持的云平台
package cloud

import (
Expand Down
1 change: 1 addition & 0 deletions cloud/interface.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package cloud 支持的云平台
package cloud

// CommInterface 基础接口
Expand Down
1 change: 1 addition & 0 deletions cloud/qiniu.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package cloud 支持的云平台
package cloud

import (
Expand Down
1 change: 1 addition & 0 deletions cloud/tencent.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package cloud 支持的云平台
package cloud

import (
Expand Down
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package config 配置包
package config

import (
Expand Down
1 change: 1 addition & 0 deletions config/init.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package config 配置包
package config

import (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cnbattle/upcloud

go 1.17
go 1.19

require (
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1822
Expand Down
1 change: 1 addition & 0 deletions select_interface.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package main 主包
package main

import (
Expand Down
1 change: 1 addition & 0 deletions utils/local.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package utils 工具包
package utils

import (
Expand Down

0 comments on commit 190b9c2

Please sign in to comment.