In vscode/typescript,This feature is called references CodeLens and implementations CodeLens.
Unfortunately, the go plugin for vscode currently does not have similar functionality, but I found relevant discussions: https://github.com/golang/vscode-go/discussions/1735