Skip to content

Commit 40073e5

Browse files
authored
Added key type for keys (#42)
- keys now return types - code & build scripts cleanup - double free fixes
1 parent 21e82ea commit 40073e5

File tree

14 files changed

+332
-301
lines changed

14 files changed

+332
-301
lines changed

.golangci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ linters-settings:
8383
goimports:
8484
# put imports beginning with prefix after 3rd-party packages;
8585
# it's a comma-separated list of prefixes
86-
local-prefixes: github.com/VirgilSecurity/virgil-sdk-go
86+
local-prefixes: github.com/VirgilSecurity/virgil-sdk-go/v6
8787
golint:
8888
# minimal confidence for issues, default is 0.8
8989
min-confidence: 0.8
@@ -92,7 +92,7 @@ linters-settings:
9292
simplify: true
9393
gocyclo:
9494
# minimal code complexity to report, 30 by default (but we recommend 10-20)
95-
min-complexity: 15
95+
min-complexity: 25
9696
gocognit:
9797
# minimal code complexity to report, 30 by default (but we recommend 10-20)
9898
min-complexity: 10
@@ -157,8 +157,8 @@ linters-settings:
157157
# - rangeValCopy
158158

159159
# # Which checks should be disabled; can't be combined with 'enabled-checks'; default is empty
160-
# disabled-checks:
161-
# - regexpMust
160+
disabled-checks:
161+
- ifElseChain
162162

163163
# Enable multiple checks by tags, run `GL_DEBUG=gocritic golangci-lint run` to see all tags and checks.
164164
# Empty list by default. See https://github.com/go-critic/go-critic#usage -> section "Tags".

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ matrix:
1313
go: stable
1414
env:
1515
- LINT_ENABLE=ON
16-
- os: linux
17-
go: "1.12.x"
1816

1917
##########################################################################
2018
# Clang on OSX
@@ -70,10 +68,6 @@ matrix:
7068
- os: windows
7169
go: stable
7270

73-
env:
74-
global:
75-
- GO111MODULE=on
76-
7771
install:
7872
- go mod download
7973

0 commit comments

Comments
 (0)