google / google/gops

Add method to get port used

Open
#253 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
7k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

When using a random port (`:0`), there is no way to then retrieve the port used, e.g. to print it to the console

maybe `listener.Addr()` should be exposed by `agent` ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.