Files
hatchet/examples
Mohammed Nafees a2b60c79fe [HAT-429] Go SDK v1 (#2089)
* first version of new syntax and semantics

* lint fix

* add very basic example

* fix err handling

* Run method

* more Go SDK v1 examples

* more v1 Go SDK examples

* everything inside sdks/go

* fix lint

* remove code

* fix cancellations example

* fix child workflows example

* fix durablecontext reflection

* events example

* more examples ported to v1

* RunBulk -> RunMany

* address PR comments

* add link to examples in go doc
2025-08-14 22:01:34 +02:00
..
2025-08-14 22:01:34 +02:00
2025-04-30 14:10:09 -07:00

Hatchet Examples

Contributing

These examples are generated from SDK source where they include, to contribute updates to these docs please make these changes in the sdk source:

  • Typescript: ../sdks/typescript/src/v1/examples
  • Python: ../sdks/python/examples
  • Go: ../pkg/examples

Comment Markup

We use a special comment markup to generate code snips for our docs. Markups support single line comments in typescript/go // or python #.

Blocks
// > Block Title
BLOCK CONTENT
// !!
Highlights
HH-name 1 hello
hello world

Where 1 is the number of lines to highlight and hello are strings to specifically highlight.