This example contains a go_hooks.go file to illustrate possibilities of Go hooks.
In order to run addon-operator with Go hooks you need to compile hooks in addon-operator binary. register_go_hooks.go.tpl file contains an example of code needed to compile go hooks into addon-operator binary.