Skip to content

Commit f9ddaa6

Browse files
Fix static checks in go-sdk/README.md (#57052)
1 parent 33820c0 commit f9ddaa6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

go-sdk/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Longer term we will likely need to stabilize the Edge Executor API and add versi
2828

2929
Since Go is a compiled language (putting aside projects such as [YAEGI](https://github.com/traefik/yaegi) that allow Go to be interpreted), all tasks must:
3030

31-
1. Be compiled into a binary ahead of time, and
31+
1. Be compiled into a binary ahead of time, and
3232
2. Be registered inside the worker process in order to be executed.
3333

3434

@@ -95,17 +95,21 @@ You will need to create a python Dag and deploy it in to the Airflow
9595
```python
9696
from airflow.sdk import dag, task
9797

98+
9899
@task.stub(queue="golang")
99-
def extract():...
100+
def extract(): ...
101+
100102

101103
@task.stub(queue="golang")
102104
def transform(): ...
103105

106+
104107
@dag()
105108
def simple_dag():
106109

107110
extract() >> transform()
108111

112+
109113
multi_language()
110114
```
111115

0 commit comments

Comments
 (0)