Remove unused function

Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
akp 2022-05-09 16:08:13 +01:00
parent 11d9de29d4
commit fc55546718
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -105,11 +105,3 @@ func getCommitHash() string {
return hash
}
func ignoreError[T any](x T, err error) T {
if err != nil {
var y T
return y
}
return x
}