基礎
指南
參考
系統測試
資源
提交
airflow.providers.google
airflow.providers.google.go_module_utils
初始化和管理 Go 模組的工具。
init_module(go_module_name, go_module_path)
init_module
初始化 Go 模組。
install_dependencies(go_module_path)
install_dependencies
為 Go 模組安裝依賴項。
如果 go.mod 檔案已存在,此函數將不會執行任何操作。
go.mod
go_module_name (str) – 要初始化的 Go 模組名稱。
go_module_path (str) – 包含 Go 模組的目錄路徑。
此條目是否有幫助?
init_module()
install_dependencies()