github.com/egonelbre/exp@v0.0.0-20240430123955-ed1d3aa93911/overload/README.md (about) 1 POC: An example how to quickly overload operators using [eg](https://godoc.org/golang.org/x/tools/refactor/eg). 2 3 Run with: 4 5 eg -t add.template example.go 6 7 And then replace template import. 8 9 *When you want to use something like this a lot in practice, you probably should implement it properly, instead of hacking it together from things that weren't meant for it.*