From 9bc4641a49b9be94f4f2aa1e340009ea415ef588 Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Thu, 15 Apr 2021 13:37:24 -0400 Subject: [PATCH] ci-lint: disable ifshort --- .golangci.toml | 2 +- targets.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.toml b/.golangci.toml index 2124de6..60bb5c1 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -45,7 +45,7 @@ enable = [ "gosec", "gosimple", "govet", - "ifshort", + # "ifshort", "importas", "ineffassign", "lll", diff --git a/targets.go b/targets.go index baad5c4..b25b203 100644 --- a/targets.go +++ b/targets.go @@ -24,7 +24,7 @@ type target interface { // Store a float64 at the target setFloat64(v float64) error - // Stores any value at the target + // Stores any value at the target set(v reflect.Value) error }