guide: Stub out some more of the overall guide outline
This commit is contained in:
parent
b737ad87a3
commit
50cdb5d614
@ -24,5 +24,8 @@ a Go program.
|
|||||||
go_diagnostics
|
go_diagnostics
|
||||||
go_decoding_gohcl
|
go_decoding_gohcl
|
||||||
go_decoding_hcldec
|
go_decoding_hcldec
|
||||||
|
go_expression_eval
|
||||||
|
go_decoding_lowlevel
|
||||||
|
go_patterns
|
||||||
|
|
||||||
.. _Go: https://golang.org/
|
.. _Go: https://golang.org/
|
||||||
|
@ -67,7 +67,7 @@ The second argument to ``gohcl.DecodeBody``, shown as ``nil`` in the previous
|
|||||||
example, allows the calling application to additionally offer variables and
|
example, allows the calling application to additionally offer variables and
|
||||||
functions for use in expressions. Its value is a pointer to an
|
functions for use in expressions. Its value is a pointer to an
|
||||||
``hcl.EvalContext``, which will be covered in more detail in the later section
|
``hcl.EvalContext``, which will be covered in more detail in the later section
|
||||||
:ref:`expression-eval`. For now, a simple example of making the id of the
|
:ref:`go-expression-eval`. For now, a simple example of making the id of the
|
||||||
current process available as a single variable called ``pid``:
|
current process available as a single variable called ``pid``:
|
||||||
|
|
||||||
.. code-block:: go
|
.. code-block:: go
|
||||||
|
@ -223,7 +223,7 @@ just as with ``gohcl.DecodeBlock``.
|
|||||||
This object can be constructed using
|
This object can be constructed using
|
||||||
:ref:`the gohcl helper function <go-decoding-gohcl-evalcontext>` as before if desired, but
|
:ref:`the gohcl helper function <go-decoding-gohcl-evalcontext>` as before if desired, but
|
||||||
you can also choose to work directly with :go:type:`hcl.EvalContext` as
|
you can also choose to work directly with :go:type:`hcl.EvalContext` as
|
||||||
discussed in :ref:`expression-eval`:
|
discussed in :ref:`go-expression-eval`:
|
||||||
|
|
||||||
.. code-block:: go
|
.. code-block:: go
|
||||||
|
|
||||||
|
5
guide/go_decoding_lowlevel.rst
Normal file
5
guide/go_decoding_lowlevel.rst
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.. _go-decoding-lowlevel:
|
||||||
|
|
||||||
|
Advanced Decoding With The Low-level API
|
||||||
|
========================================
|
||||||
|
|
5
guide/go_expression_eval.rst
Normal file
5
guide/go_expression_eval.rst
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.. _go-expression-eval:
|
||||||
|
|
||||||
|
Expression Evaluation
|
||||||
|
=====================
|
||||||
|
|
2
guide/go_patterns.rst
Normal file
2
guide/go_patterns.rst
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Design Patterns for Complex Systems
|
||||||
|
===================================
|
@ -28,6 +28,7 @@ via its library API.
|
|||||||
|
|
||||||
intro
|
intro
|
||||||
go
|
go
|
||||||
|
language_design
|
||||||
|
|
||||||
.. _libucl: https://github.com/vstakhov/libucl
|
.. _libucl: https://github.com/vstakhov/libucl
|
||||||
.. _`nginx configuration`: http://nginx.org/en/docs/beginners_guide.html#conf_structure
|
.. _`nginx configuration`: http://nginx.org/en/docs/beginners_guide.html#conf_structure
|
||||||
|
3
guide/language_design.rst
Normal file
3
guide/language_design.rst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Configuration Language Design
|
||||||
|
=============================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user