how to use control commands in golang