diff options
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r-- | documentation/ref-manual/classes.rst | 23 |
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 | |||
758 | mirrors as well as extending :term:`FILES` with the typical | 758 | mirrors as well as extending :term:`FILES` with the typical |
759 | GNOME installation paths. | 759 | GNOME installation paths. |
760 | 760 | ||
761 | .. _ref-classes-go: | ||
762 | |||
763 | ``go`` | ||
764 | ====== | ||
765 | |||
766 | The :ref:`ref-classes-go` class supports building Go programs. The behavior of | ||
767 | this class is controlled by the mandatory :term:`GO_IMPORT` variable, and | ||
768 | by the optional :term:`GO_INSTALL` and :term:`GO_INSTALL_FILTEROUT` ones. | ||
769 | |||
770 | To 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>` | ||
772 | recipe as an example. | ||
773 | |||
774 | .. _ref-classes-go-mod: | ||
775 | |||
776 | ``go-mod`` | ||
777 | ========== | ||
778 | |||
779 | The :ref:`ref-classes-go-mod` class allows to use Go modules, and inherits the | ||
780 | :ref:`ref-classes-go` class. | ||
781 | |||
782 | See 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`` |