github.com/fawick/restic@v0.1.1-0.20171126184616-c02923fbfc79/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) {}