Skip to content

Commit 457fa19

Browse files
committed
WIP: Remove staticcheck-specific failures
1 parent 9b1f51a commit 457fa19

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

models/helpers.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
package models
22

3-
import "fmt"
4-
53
func GetResource(resource *Resource) *Resource {
64
r := &Resource{Key: resource.Key, Owner: resource.Owner, Value: resource.Value}
7-
b := true
8-
if !!b {
9-
asdf := fmt.Sprintf("This is a test")
10-
fmt.Println(asdf)
11-
}
125
if resource.TypeCode == UNKNOWN {
136
r.TypeCode = GetTypeCode(resource.Type)
147
r.Type = resource.Type

0 commit comments

Comments
 (0)