We use the following tools and processes for generationg 3rd party licenses.
For Go modules we use a fork of Kubeflow's testing repo with some fixes.
git clone https://github.com/SeldonIO/kubeflow-testing -b seldon-update
cd kubeflow-testing/py/kubeflow/testing/go-license-tools/