How to write CF CLI (Cloud Foundry Commands) in Golang Program

Something like: cf login, cf set-org-users, cf orgs, cf spaces:

Here is a reference:

https://docs.cloudfoundry.org/cf-cli/getting-started.html