Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/supabase/auth
/ must
Function
must
internal/crypto/utils.go:3–9 ·
view source on GitHub ↗
(a T, err error)
Source
from the content-addressed store, hash-verified
1
package
crypto
2
3
func
must[T any](a T, err error) T {
4
if
err != nil {
5
panic(err)
6
}
7
8
return
a
9
}
Callers
11
TestMust
Function · 0.85
firebaseScrypt
Function · 0.85
GenerateFromPassword
Function · 0.85
generateOtp
Function · 0.85
secureRandomInt
Function · 0.85
Decrypt
Method · 0.85
String
Method · 0.85
deriveSymmetricKey
Function · 0.85
NewEncryptedString
Function · 0.85
SecureAlphanumeric
Function · 0.85
GenerateRefreshTokenHmacKey
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestMust
Function · 0.68