This topic helps you install the Temporal server and implement a workflow.
Install Temporal Server Locally
To run samples locally you need to run Temporal server locally using instructions.
Start with an empty directory
Create directory for the project
Initialize Go Modules and SDK Package Dependency
Initialize Go modules
Add dependency to Temporal Go SDK
Get User Activity
Create file get_user.go
Send Greeting Activity
Create file send_greeting.go
Implement Greetings Workflow
Create file greetings.go
Host Workflows and Activities inside Worker
Create file main.go
Run your worker app which hosts workflow and activity implementations
Start workflow execution
Workflow Completes Execution
Try Go SDK Samples
Check Go SDK Samples and try simple Temporal usage scenario.