{"id":18459642,"url":"https://github.com/hatchet-dev/hatchet-go-quickstart","last_synced_at":"2025-04-08T06:31:50.048Z","repository":{"id":214533215,"uuid":"736727357","full_name":"hatchet-dev/hatchet-go-quickstart","owner":"hatchet-dev","description":"Quickstart for Hatchet using the Go SDK. ","archived":false,"fork":false,"pushed_at":"2025-04-04T13:51:03.000Z","size":340,"stargazers_count":19,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T14:35:19.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hatchet-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-28T17:43:58.000Z","updated_at":"2025-04-03T15:08:51.000Z","dependencies_parsed_at":"2024-07-31T17:25:29.514Z","dependency_job_id":"360b4c86-c614-423b-bbff-f39de766ba93","html_url":"https://github.com/hatchet-dev/hatchet-go-quickstart","commit_stats":null,"previous_names":["hatchet-dev/hatchet-go-quickstart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-go-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-go-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-go-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-go-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hatchet-dev","download_url":"https://codeload.github.com/hatchet-dev/hatchet-go-quickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247792045,"owners_count":20996876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T08:23:56.540Z","updated_at":"2025-04-08T06:31:50.026Z","avatar_url":"https://github.com/hatchet-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hatchet First Workflow Example\n\nThis is an example project demonstrating how to use Hatchet with Go. For detailed setup instructions, see the [Hatchet Setup Guide](https://docs.hatchet.run/home/setup).\n\n## Prerequisites\n\nBefore running this project, make sure you have the following:\n\n1. [Go v1.22 or higher](https://go.dev/doc/install)\n\n## Setup\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/hatchet-dev/hatchet-go-quickstart.git\ncd hatchet-go-quickstart\n```\n\n2. Set the required environment variable `HATCHET_CLIENT_TOKEN` created in the [Getting Started Guide](https://docs.hatchet.run/home/hatchet-cloud-quickstart).\n\n```bash\nexport HATCHET_CLIENT_TOKEN=\u003ctoken\u003e\n```\n\n\u003e Note: If you're self hosting you may need to set `HATCHET_CLIENT_TLS_STRATEGY=none` to disable TLS\n\n3. Install the project dependencies:\n\n```bash\ngo mod tidy\n```\n\n### Running an example\n\n1. Start a Hatchet worker:\n\n```bash\ngo run cmd/worker/main.go\n```\n\n2. In a new terminal, run the example task:\n\n```bash\ngo run cmd/run/main.go\n```\n\nThis will trigger the task on the worker running in the first terminal and print the output to the second terminal.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatchet-dev%2Fhatchet-go-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhatchet-dev%2Fhatchet-go-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatchet-dev%2Fhatchet-go-quickstart/lists"}