//Create the transaction and freeze the unsigned transaction
transaction, err := hedera.NewScheduleDeleteTransaction()
SetScheduleID(scheduleId).
//Sign with the admin key, sign with the client operator private key and submit the transaction to a Hedera network
txResponse, err := transaction.Sign(adminKey).Execute(client)
//Request the receipt of the transaction
receipt, err := txResponse.GetReceipt(client)
//Get the transaction consensus status
fmt.Printf("The transaction consensus status is %v\n", status)