auth.go: make user of generics in RequestUser

This commit is contained in:
2022-03-30 00:07:06 +02:00
parent d5aa7c0ba2
commit f670c78337
3 changed files with 8 additions and 21 deletions
-6
View File
@@ -1,6 +0,0 @@
package util
func Zero[T any]() T {
var zero T
return zero
}