Add first google auth

This commit is contained in:
Achim Rohn
2025-09-17 14:58:13 +02:00
parent ad363251e4
commit 2a3506d21b
20 changed files with 2614 additions and 12 deletions
+3 -1
View File
@@ -5,6 +5,7 @@ package ent
import (
"context"
"errors"
"ersteller-lib/starter/ent/googleauth"
"ersteller-lib/starter/ent/user"
"fmt"
"reflect"
@@ -73,7 +74,8 @@ var (
func checkColumn(t, c string) error {
initCheck.Do(func() {
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{
user.Table: user.ValidColumn,
googleauth.Table: googleauth.ValidColumn,
user.Table: user.ValidColumn,
})
})
return columnCheck(t, c)