Created wrappers around Internal IDs for consistency and added an ID dispatch registry #1966
ci-staticcheck.yaml
on: pull_request
Run Staticcheck
3m 55s
Annotations
10 errors
Run Staticcheck:
testing/generation/function_coverage/generators.go#L171
cannot use pgtypes.Bool.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/generators.go#L172
cannot use pgtypes.Float32.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/generators.go#L173
cannot use pgtypes.Float64.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/generators.go#L174
cannot use pgtypes.Int16.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/generators.go#L175
cannot use pgtypes.Int32.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/generators.go#L176
cannot use pgtypes.Int64.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/generators.go#L177
cannot use pgtypes.Numeric.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/generators.go#L178
cannot use pgtypes.Uuid.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/generators.go#L179
cannot use pgtypes.VarChar.ID (variable of type id.InternalType) as id.Internal value in map literal
|
Run Staticcheck:
testing/generation/function_coverage/main.go#L64
cannot use paramType.ID (variable of type id.InternalType) as id.Internal value in map index
|