grrr linter

This commit is contained in:
kim 2024-11-05 14:55:37 +00:00
commit 36889ca26f

View file

@ -114,5 +114,5 @@ func initWASM(ctx context.Context) error {
// dealing with weird Go interface nil bullshit.
func isNil(i interface{}) bool {
type eface struct{ Type, Data unsafe.Pointer }
return (*(*eface)(unsafe.Pointer(&i))).Data == nil
return (*eface)(unsafe.Pointer(&i)).Data == nil
}