It's largely accepted that while you can use gdb, it's not really good at debugging go code. from your own link.. "GDB does not understand Go programs well"
https://github.com/derekparker/delve delve as mentioned other places is more of a true go debugger