summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/classes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r--documentation/ref-manual/classes.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 7dba617db5..0cb507b500 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -758,6 +758,29 @@ software from the GNOME stack. This class sets
758mirrors as well as extending :term:`FILES` with the typical 758mirrors as well as extending :term:`FILES` with the typical
759GNOME installation paths. 759GNOME installation paths.
760 760
761.. _ref-classes-go:
762
763``go``
764======
765
766The :ref:`ref-classes-go` class supports building Go programs. The behavior of
767this class is controlled by the mandatory :term:`GO_IMPORT` variable, and
768by the optional :term:`GO_INSTALL` and :term:`GO_INSTALL_FILTEROUT` ones.
769
770To build a Go program with the Yocto Project, you can use the
771:yocto_git:`go-helloworld_0.1.bb </poky/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb>`
772recipe as an example.
773
774.. _ref-classes-go-mod:
775
776``go-mod``
777==========
778
779The :ref:`ref-classes-go-mod` class allows to use Go modules, and inherits the
780:ref:`ref-classes-go` class.
781
782See the associated :term:`GO_WORKDIR` variable.
783
761.. _ref-classes-gobject-introspection: 784.. _ref-classes-gobject-introspection:
762 785
763``gobject-introspection`` 786``gobject-introspection``