refactor: distinguish between Unique and UniqueIndex #1177
reviewdog.yml
on: pull_request
runner / golangci-lint
32s
Annotations
2 errors
runner / golangci-lint:
migrator/migrator.go#L655
[golangci] reported by reviewdog 🐶
calculated cyclomatic complexity for function GuessConstraintInterfaceAndTable is 17, max is 10 (cyclop)
Raw Output:
migrator/migrator.go:655:1: calculated cyclomatic complexity for function GuessConstraintInterfaceAndTable is 17, max is 10 (cyclop)
func (m Migrator) GuessConstraintInterfaceAndTable(stmt *gorm.Statement, name string) (_ schema.ConstraintInterface, table string) {
^
|
runner / golangci-lint
reviewdog exited with status code: 1
|