Bookmark: Display File, Function, and Line Number in Go (Golang) | Jim Lawless' Blog

I used this a lot in PHP. Having to recompile can be time consuming, but a good Makefile fixes that right up.