user authentication structure in place

This commit is contained in:
zomo
2026-01-05 23:10:00 -06:00
parent 9770ef9f21
commit 5c6e93c7e4
9 changed files with 261 additions and 112 deletions

View File

@@ -16,8 +16,8 @@ func InitDBColdConn(conf *util.Config) (*DBColdConn, error) {
return nil, err
}
ctx := context.Background()
cold := &DBColdConn{ db, ctx }
cold := &DBColdConn{db, ctx}
cold.initUserAuth()
return cold, nil
@@ -25,5 +25,5 @@ func InitDBColdConn(conf *util.Config) (*DBColdConn, error) {
type DBColdConn struct {
Gorm *gorm.DB
Ctx context.Context
Ctx context.Context
}