chmouel, I finally found time to setup dape.el properly to debug my #golang tests https://github.com/svaante/dape/blob/master/dape.el
dape is an alternative Debugger adapter protocol for emacs, that keeps it simple and close to emacs (and compatible with eglot)
my config is available here: https://gitlab.com/chmouel/emacs-config/blob/main/lisp/init-go.el#L54