Skip to content

update: golang 1.13 #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ services:
- docker
language: go
go:
- "1.11.x"
- "1.12.x"
- "1.13.x"
- tip

Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fmtcheck:

lint:
@echo "==> Checking source code against linters..."
@GOGC=30 golangci-lint run ./$(PKG_NAME)
@GOGC=30 GOPACKAGESPRINTGOLISTERRORS=1 golangci-lint run ./$(PKG_NAME) --timeout=30m
@tfproviderlint \
-c 1 \
-AT001 \
Expand Down
7 changes: 3 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
module github.com/terraform-providers/terraform-provider-tencentcloud

go 1.12
go 1.13

require (
github.com/athom/goset v0.0.0-20151103071336-f07be69aa101
github.com/aws/aws-sdk-go v1.20.4
github.com/bflad/tfproviderlint v0.4.0
github.com/client9/misspell v0.3.4
github.com/golangci/golangci-lint v1.17.1
github.com/golangci/golangci-lint v1.20.0
github.com/hashicorp/hcl2 v0.0.0-20190618163856-0b64543c968c
github.com/hashicorp/terraform v0.12.3
github.com/likexian/gokit v0.0.0-20190604165112-68b8a4ba758c
github.com/mitchellh/go-homedir v1.1.0
github.com/tencentcloud/tencentcloud-sdk-go v3.0.89-0.20191011161912-cf7a17a053dc+incompatible
github.com/terraform-providers/terraform-provider-template v1.0.0
github.com/tencentcloud/tencentcloud-sdk-go v3.0.87-0.20190912121957-c0615982c83b+incompatible
github.com/yangwenmai/ratelimit v0.0.0-20180104140304-44221c2292e1
github.com/zqfan/tencentcloud-sdk-go v0.0.0-0.20181105105106-4c76f78ff2e6
labix.org/v2/mgo v0.0.0-20140701140051-000000000287 // indirect
Expand Down
230 changes: 163 additions & 67 deletions go.sum

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions tencentcloud/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,17 @@ package tencentcloud
import (
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
"github.com/terraform-providers/terraform-provider-template/template"
)

var testAccProviders map[string]terraform.ResourceProvider

// var testAccProvidersWithTLS map[string]terraform.ResourceProvider
var testAccProvider *schema.Provider

var testAccTemplateProvider *schema.Provider

func init() {
testAccProvider = Provider()
testAccTemplateProvider = template.Provider().(*schema.Provider)
testAccProviders = map[string]terraform.ResourceProvider{
"tencentcloud": testAccProvider,
"template": testAccTemplateProvider,
}
//testAccProvidersWithTLS = map[string]terraform.ResourceProvider{
// "tls": tls.Provider(),
Expand Down
2 changes: 2 additions & 0 deletions vendor/github.com/OpenPeeDeeP/depguard/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 0 additions & 43 deletions vendor/github.com/OpenPeeDeeP/depguard/Gopkg.lock

This file was deleted.

43 changes: 0 additions & 43 deletions vendor/github.com/OpenPeeDeeP/depguard/Gopkg.toml

This file was deleted.

18 changes: 11 additions & 7 deletions vendor/github.com/OpenPeeDeeP/depguard/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading