package main import ( "fmt" cf "github.com/cloudfoundry-community/go-cfclient" ) func main() { endpoint := "https://mycfendpoint.com" username := "myusername" password := "mypassword" client, err := cf.NewClient(&cf.Config{ ApiAddress: endpoint, Username: username, Password: password, }) if err != nil { panic(err) } orgGUID := "myorgguid" orgFields, err := client.GetOrgByGuid(orgGUID) if err != nil { panic(err) } fmt.Printf("Org Name: %s\n", orgFields.Name) fmt.Printf("Quota GUID: %s\n", orgFields.QuotaDefinitionGuid) fmt.Printf("Spaces URL: %s\n", orgFields.SpacesUrl) }In this example, we first create a Cloud Foundry client using the go-cf package library. Then, we query for the organization corresponding to the provided GUID and retrieve its fields using the GetOrgByGuid method. Finally, we print out some of the retrieved fields, like the organization name, quota GUID, and spaces URL.