guide: Stub out some more of the overall guide outline

This commit is contained in:
Martin Atkins 2018-08-26 10:28:03 -07:00
parent b737ad87a3
commit 50cdb5d614
8 changed files with 21 additions and 2 deletions

View File

@ -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/

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,5 @@
.. _go-decoding-lowlevel:
Advanced Decoding With The Low-level API
========================================

View File

@ -0,0 +1,5 @@
.. _go-expression-eval:
Expression Evaluation
=====================

2
guide/go_patterns.rst Normal file
View File

@ -0,0 +1,2 @@
Design Patterns for Complex Systems
===================================

View File

@ -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

View File

@ -0,0 +1,3 @@
Configuration Language Design
=============================