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

lostluck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new ff2ac0af470 [BEAM-14519] Add website page for Go dependencies (#17766)
ff2ac0af470 is described below

commit ff2ac0af47091a9d7a14c6e71bbcf68c10b18998
Author: Danny McCormick <dannymccorm...@google.com>
AuthorDate: Thu May 26 18:56:00 2022 -0400

    [BEAM-14519] Add website page for Go dependencies (#17766)
---
 .../en/documentation/sdks/go-dependencies.md       | 32 ++++++++++++++++++++++
 .../layouts/partials/section-menu/en/sdks.html     |  1 +
 2 files changed, 33 insertions(+)

diff --git a/website/www/site/content/en/documentation/sdks/go-dependencies.md 
b/website/www/site/content/en/documentation/sdks/go-dependencies.md
new file mode 100644
index 00000000000..a734e73ccf8
--- /dev/null
+++ b/website/www/site/content/en/documentation/sdks/go-dependencies.md
@@ -0,0 +1,32 @@
+---
+type: languages
+title: "Go SDK Dependencies"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Beam SDK for Go dependencies
+
+Beam Go uses [Go modules](https://go.dev/blog/using-go-modules) for package 
management.
+Compile and runtime dependencies for your Beam SDK version are listed in 
`go.sum` in the Beam repository.
+This can be found at
+
+```
+https://raw.githubusercontent.com/apache/beam/v<VERSION_NUMBER>/sdks/go.sum
+```
+
+Replace `<VERSION_NUMBER>` with the major.minor.patch version of the SDK. For 
example, <https://raw.githubusercontent.com/apache/beam/v{{< param 
release_latest >}}/sdks/go.sum> will provide the dependencies for the {{< param 
release_latest >}} release.
+
+**Note:** To just view direct dependencies, you can view the `go.mod` file 
instead, direct dependencies
+are listed in the initial `require` statement. This can be found at 
`https://raw.githubusercontent.com/apache/beam/v<VERSION_NUMBER>/sdks/go.mod`
\ No newline at end of file
diff --git a/website/www/site/layouts/partials/section-menu/en/sdks.html 
b/website/www/site/layouts/partials/section-menu/en/sdks.html
index 6769a53ff95..d1bd51b7189 100644
--- a/website/www/site/layouts/partials/section-menu/en/sdks.html
+++ b/website/www/site/layouts/partials/section-menu/en/sdks.html
@@ -52,6 +52,7 @@
                                                                                
                                                    width="14" height="14"
                                                                                
                                                    alt="External link."></a>
 
+    <li><a href="/documentation/sdks/go-dependencies/">Go SDK 
dependencies</a></li>
     <li><a href="/documentation/sdks/go-cross-compilation/">Cross 
compilation</a></li>
     </li>
   </ul>

Reply via email to