initial commit

This commit is contained in:
2026-01-21 20:03:02 +11:00
commit 499136bcb8
41 changed files with 3069 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package contexts
import (
"git.haelnorr.com/h/golib/hwsauth"
"git.haelnorr.com/h/oslstats/internal/db"
)
var CurrentUser hwsauth.ContextLoader[*db.User]

7
pkg/contexts/keys.go Normal file
View File

@@ -0,0 +1,7 @@
package contexts
type contextKey string
func (c contextKey) String() string {
return "oslstats context key " + string(c)
}