fix: Fix encode Snowflake ID for object identifiers #153
Annotations
5 errors
golangci-lint:
pkg/helpers/helpers.go#L69
[golangci] reported by reviewdog 🐶
typeSwitchVar: 4 cases can benefit from type switch with assignment (gocritic)
Raw Output:
pkg/helpers/helpers.go:69:4: typeSwitchVar: 4 cases can benefit from type switch with assignment (gocritic)
switch id.(type) {
^
|
golangci-lint:
pkg/helpers/helpers.go#L71
[golangci] reported by reviewdog 🐶
S1034(related information): could eliminate this type assertion (gosimple)
Raw Output:
pkg/helpers/helpers.go:71:27: S1034(related information): could eliminate this type assertion (gosimple)
parts = append(parts, id.(sdk.AccountObjectIdentifier).Name())
^
|
golangci-lint:
pkg/helpers/helpers.go#L73
[golangci] reported by reviewdog 🐶
S1034(related information): could eliminate this type assertion (gosimple)
Raw Output:
pkg/helpers/helpers.go:73:27: S1034(related information): could eliminate this type assertion (gosimple)
parts = append(parts, id.(sdk.DatabaseObjectIdentifier).DatabaseName(), id.(sdk.DatabaseObjectIdentifier).Name())
^
|
golangci-lint:
pkg/helpers/helpers.go#L75
[golangci] reported by reviewdog 🐶
S1034(related information): could eliminate this type assertion (gosimple)
Raw Output:
pkg/helpers/helpers.go:75:27: S1034(related information): could eliminate this type assertion (gosimple)
parts = append(parts, id.(sdk.SchemaObjectIdentifier).DatabaseName(), id.(sdk.SchemaObjectIdentifier).SchemaName(), id.(sdk.SchemaObjectIdentifier).Name())
^
|
golangci-lint
reviewdog exited with status code: 1
|
The logs for this run have expired and are no longer available.
Loading