github.com/advanderveer/restic@v0.8.1-0.20171209104529-42a8c19aaea6/internal/debug/hooks_release.go (about) 1 // +build release 2 3 package debug 4 5 func Hook(name string, f func(interface{})) {} 6 7 func RunHook(name string, context interface{}) {} 8 9 func RemoveHook(name string) {}