airflow.providers.google.go_module_utils

Utilities initializing and managing Go modules.

Module Contents

Functions

init_module(go_module_name, go_module_path)

Initialize a Go module.

install_dependencies(go_module_path)

Install dependencies for a Go module.

airflow.providers.google.go_module_utils.init_module(go_module_name, go_module_path)[source]

Initialize a Go module.

If a go.mod file already exists, this function will do nothing.

Parameters
  • go_module_name (str) – The name of the Go module to initialize.

  • go_module_path (str) – The path to the directory containing the Go module.

airflow.providers.google.go_module_utils.install_dependencies(go_module_path)[source]

Install dependencies for a Go module.

Parameters

go_module_path (str) – The path to the directory containing the Go module.

Was this entry helpful?