Update hook.go #765
Annotations
11 errors
lint:
hook.go#L215
invalid operation: cannot compare o.Name == nil (mismatched types string and untyped nil) (typecheck)
|
lint
issues found
|
Tests:
helper_test.go#L353
cannot use String(hookName) (value of type *string) as type string in struct literal
|
Tests:
hook_test.go#L30
cannot use String(hookName) (value of type *string) as type string in struct literal
|
Tests:
hook_test.go#L47
invalid operation: cannot indirect options.Name (variable of type string)
|
Tests:
hook_test.go#L57
cannot use String("test-hook") (value of type *string) as type string in struct literal
|
Tests:
hook_test.go#L69
cannot use String("test-hook") (value of type *string) as type string in struct literal
|
Tests:
hook_test.go#L84
cannot use String("test-hook") (value of type *string) as type string in struct literal
|
Tests:
hook_test.go#L99
cannot use String("test-hook") (value of type *string) as type string in struct literal
|
Tests:
hook_test.go#L114
cannot use String("test-hook") (value of type *string) as type string in struct literal
|
Tests
Process completed with exit code 2.
|