Skip to content

Commit

Permalink
Added key type for keys (#42)
Browse files Browse the repository at this point in the history
 - keys now return types
 - code & build scripts cleanup
 - double free fixes
  • Loading branch information
Scratch-net authored Apr 1, 2020
1 parent 21e82ea commit 40073e5
Show file tree
Hide file tree
Showing 14 changed files with 332 additions and 301 deletions.
8 changes: 4 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/VirgilSecurity/virgil-sdk-go
local-prefixes: github.com/VirgilSecurity/virgil-sdk-go/v6
golint:
# minimal confidence for issues, default is 0.8
min-confidence: 0.8
Expand All @@ -92,7 +92,7 @@ linters-settings:
simplify: true
gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
min-complexity: 15
min-complexity: 25
gocognit:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
min-complexity: 10
Expand Down Expand Up @@ -157,8 +157,8 @@ linters-settings:
# - rangeValCopy

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

# Enable multiple checks by tags, run `GL_DEBUG=gocritic golangci-lint run` to see all tags and checks.
# Empty list by default. See https://github.com/go-critic/go-critic#usage -> section "Tags".
Expand Down
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ matrix:
go: stable
env:
- LINT_ENABLE=ON
- os: linux
go: "1.12.x"

##########################################################################
# Clang on OSX
Expand Down Expand Up @@ -70,10 +68,6 @@ matrix:
- os: windows
go: stable

env:
global:
- GO111MODULE=on

install:
- go mod download

Expand Down
Loading

0 comments on commit 40073e5

Please sign in to comment.