blob: b2bf1b4af1ed9aef6f83e01e11556f49d2482bde [file] [log] [blame]
:py:mod:`airflow.providers.google.go_module_utils`
==================================================
.. py:module:: airflow.providers.google.go_module_utils
.. autoapi-nested-parse::
Utilities initializing and managing Go modules.
Module Contents
---------------
Functions
~~~~~~~~~
.. autoapisummary::
airflow.providers.google.go_module_utils.init_module
airflow.providers.google.go_module_utils.install_dependencies
.. py:function:: init_module(go_module_name, go_module_path)
Initialize a Go module. If a ``go.mod`` file already exists, this function
will do nothing.
:param go_module_name: The name of the Go module to initialize.
:param go_module_path: The path to the directory containing the Go module.
:return:
.. py:function:: install_dependencies(go_module_path)
Install dependencies for a Go module.
:param go_module_path: The path to the directory containing the Go module.
:return: