use syncthing as a go module in a different go application

I’ve just read Beta test my new iOS app for Syncthing and it looks like this app is in fact using parts of Syncthing as Go module, see e.g. sushitrain/SushitrainCore/go.mod at main · pixelspark/sushitrain · GitHub.