Sample for Hello World task. Print "Hello World" when run the main.go
- Fork the repositoy
Please refer to the Choreo documentation under the Develop an Application with Buildpacks to learn how to deploy the application.
-
Select
Manual Task
Card from Component Creation Wizard -
Select
Go
as the buildpack. Fill as follow according to selected Buildpack.Field Description Name Hello World Task Description Print Hello World GitHub Account Your account GitHub Repository choreo-samples Branch main
Buildpack Go Select Go Project Directory hello-world-go-task Language Version 1.x -
Click Create. Once the component creation is complete, you will see the component overview page.
-
Deploy the created component
Navigate to the Go application directory
cd hello-world-go-task
Run the service
go run main.go