diff options
author | Joe Chen <jc@unknwon.io> | 2023-02-02 21:25:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 21:25:25 +0800 |
commit | c53a1998c589a544b25d53f6e6fdf0f24a4df25b (patch) | |
tree | 1c3c9d693ba551eecfbc535be942e40b5acf9cf7 /internal/db/schemadoc/main.go | |
parent | 614382fec0ba05149785539ab93560d4d42c194d (diff) |
all: replace `interface{}` with `any` (#7330)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Diffstat (limited to 'internal/db/schemadoc/main.go')
-rw-r--r-- | internal/db/schemadoc/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/schemadoc/main.go b/internal/db/schemadoc/main.go index a46c86b0..664a2969 100644 --- a/internal/db/schemadoc/main.go +++ b/internal/db/schemadoc/main.go @@ -135,7 +135,7 @@ func generate(dialector gorm.Dialector) ([]*tableInfo, error) { } m := conn.Migrator().(interface { - RunWithValue(value interface{}, fc func(*gorm.Statement) error) error + RunWithValue(value any, fc func(*gorm.Statement) error) error FullDataTypeOf(*schema.Field) clause.Expr }) tableInfos := make([]*tableInfo, 0, len(db.Tables)) |