Skip to content

refactor: distinguish between Unique and UniqueIndex #1177

refactor: distinguish between Unique and UniqueIndex

refactor: distinguish between Unique and UniqueIndex #1177

Triggered via pull request October 13, 2023 10:19
Status Failure
Total duration 42s
Artifacts

reviewdog.yml

on: pull_request
runner / golangci-lint
32s
runner / golangci-lint
Fit to window
Zoom out
Zoom in

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