saucelabs/forwarder

move describe.go from bind to utils/cobrautil

Closed this issue · 1 comments

It is an utility function not related to specific flags we have in Forwarder.

Also note that there exists https://pkg.go.dev/golang.org/x/exp/maps#Keys.
Surprisingly this function did not make it to the official maps package in 1.21.

Also, sorting does not work for JSON does it?

It seems to me that more complex test with a golden file would be better / needed.