diff --git a/storage/ent/db/ent.go b/storage/ent/db/ent.go index dec4be7860798ba337c508b5ad71f81839c7a98d..da7a801611f6ff213bf5f5e1327821262bcccf8a 100644 --- a/storage/ent/db/ent.go +++ b/storage/ent/db/ent.go @@ -78,7 +78,7 @@ var ( columnCheck sql.ColumnCheck ) -// checkColumn checks if the column exists in the given table. +// columnChecker checks if the column exists in the given table. func checkColumn(table, column string) error { initCheck.Do(func() { columnCheck = sql.NewColumnCheck(map[string]func(string) bool{