Follow the instructions in the docs.
Send an echo request:
go run client/main.go -api-key=AIza.... -host=https://my-app.appspot.com -echo message
Send a JWT authed request:
go run client/main.go -api-key=AIza.... -host=https://my-app.appspot.com -service-account=path_to_service_account.json