setup project

This commit is contained in:
2026-04-04 13:35:33 -06:00
parent 3f75aead20
commit 27088c2cd8
48 changed files with 7831 additions and 2 deletions

11
db/helpers.go Normal file
View File

@@ -0,0 +1,11 @@
package db
var authMap = map[string]AuthType{
string(AuthTypePassword): AuthTypePassword,
string(AuthTypeDiscord): AuthTypeDiscord,
string(AuthTypeGoogle): AuthTypeGoogle,
}
func AuthTypeFromString(input string) AuthType {
return authMap[input]
}