diff options
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r-- | documentation/ref-manual/classes.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index ab71cbe40c..a1e160bb44 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -939,6 +939,20 @@ The :ref:`ref-classes-go-mod` class allows to use Go modules, and inherits the | |||
939 | 939 | ||
940 | See the associated :term:`GO_WORKDIR` variable. | 940 | See the associated :term:`GO_WORKDIR` variable. |
941 | 941 | ||
942 | .. _ref-classes-go-vendor: | ||
943 | |||
944 | ``go-vendor`` | ||
945 | ============= | ||
946 | |||
947 | The :ref:`ref-classes-go-vendor` class implements support for offline builds, | ||
948 | also known as Go vendoring. In such a scenario, the module dependencias are | ||
949 | downloaded during the :ref:`ref-tasks-fetch` task rather than when modules are | ||
950 | imported, thus being coherent with Yocto's concept of fetching every source | ||
951 | beforehand. | ||
952 | |||
953 | The dependencies are unpacked into the modules' ``vendor`` directory, where a | ||
954 | manifest file is generated. | ||
955 | |||
942 | .. _ref-classes-gobject-introspection: | 956 | .. _ref-classes-gobject-introspection: |
943 | 957 | ||
944 | ``gobject-introspection`` | 958 | ``gobject-introspection`` |