How can I compile the flux(ctl) Go package?

In case it’s helpful, I got far enough to have a callable binary with this content based on similar techniques: