summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/classes.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 0f4405b98f..586930f667 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -1003,6 +1003,21 @@ The :ref:`ref-classes-go-mod` class allows to use Go modules, and inherits the
1003 1003
1004See the associated :term:`GO_WORKDIR` variable. 1004See the associated :term:`GO_WORKDIR` variable.
1005 1005
1006.. _ref-classes-go-mod-update-modules:
1007
1008``go-mod-update-modules``
1009=========================
1010
1011The :ref:`ref-classes-go-mod-update-modules` class can be used in Go recipes and
1012defines a ``do_update_modules`` task that can be run manually to update two
1013files ("BPN" below corresponds to :term:`BPN`):
1014
1015- ``BPN-go-mods.inc``: list of Go modules the recipe depends on.
1016- ``BPN-licenses.inc``: list of licenses for each Go modules the recipe depends
1017 on.
1018
1019These files can then updated automatically with the ``do_update_modules`` task.
1020
1006.. _ref-classes-go-vendor: 1021.. _ref-classes-go-vendor:
1007 1022
1008``go-vendor`` 1023``go-vendor``