This is an automated email from the ASF dual-hosted git repository.

jason810496 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new ea661e93307 Fix Go SDK install command breaking the first bundle build 
(#75574)
ea661e93307 is described below

commit ea661e933079599342fe323b306a2d3ad64e6599
Author: Y-C <[email protected]>
AuthorDate: Sun Oct 25 14:04:33 2026 +0800

    Fix Go SDK install command breaking the first bundle build (#75574)
    
    The module root holds no Go package, so `go get` on it records no
    go.sum entries for the dependencies of the `airflow` package that the
    guide's main.go imports. The first `go build` or `airflow-go-pack` run
    then fails with "missing go.sum entry", and neither the guide nor the
    README says how to recover.
    
    Co-authored-by: Eason09053360 
<[email protected]>
---
 airflow-core/docs/authoring-and-scheduling/language-sdks/go.rst | 2 +-
 go-sdk/README.md                                                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow-core/docs/authoring-and-scheduling/language-sdks/go.rst 
b/airflow-core/docs/authoring-and-scheduling/language-sdks/go.rst
index 3aaf906a3d8..19bc36d9c2e 100644
--- a/airflow-core/docs/authoring-and-scheduling/language-sdks/go.rst
+++ b/airflow-core/docs/authoring-and-scheduling/language-sdks/go.rst
@@ -56,7 +56,7 @@ Prerequisites
 
   .. code-block:: bash
 
-      go get github.com/apache/airflow/go-sdk
+      go get github.com/apache/airflow/go-sdk/airflow
       go get -tool github.com/apache/airflow/go-sdk/cmd/airflow-go-pack
 
 .. _go-sdk/quick-start:
diff --git a/go-sdk/README.md b/go-sdk/README.md
index 9411654c232..6da0ccba329 100644
--- a/go-sdk/README.md
+++ b/go-sdk/README.md
@@ -26,7 +26,7 @@ Requires Go 1.25 or later.
 ## Installation
 
 ```bash
-go get github.com/apache/airflow/go-sdk
+go get github.com/apache/airflow/go-sdk/airflow
 go get -tool github.com/apache/airflow/go-sdk/cmd/airflow-go-pack
 ```
 

Reply via email to