Files
tether/context.go
T
2026-02-26 15:11:47 -06:00

19 lines
226 B
Go

package tether
import "gorm.io/gorm"
type AuthCtx struct {
UserID string
IsLoggedIn bool
}
type QueryCtx struct {
DB *gorm.DB
AuthCtx *AuthCtx
}
type MutationCtx struct {
DB *gorm.DB
AuthCtx *AuthCtx
}