github.com/segmentio/parquet-go@v0.0.0-20230712180008-5d42db8f0d47/internal/debug/finalizer_on.go (about) 1 //go:build !debug 2 3 package debug 4 5 import "runtime" 6 7 func SetFinalizer(obj, finalizer interface{}) { runtime.SetFinalizer(obj, finalizer) }