refactor: distinguish between Unique and UniqueIndex #1230
Annotations
2 errors
golangci-lint:
migrator/migrator.go#L663
[golangci] reported by reviewdog 🐶
calculated cyclomatic complexity for function GuessConstraintInterfaceAndTable is 17, max is 10 (cyclop)
Raw Output:
migrator/migrator.go:663: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) {
^
|
golangci-lint
reviewdog exited with status code: 1
|
The logs for this run have expired and are no longer available.
Loading