docs: fix details in programming guide

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes 2021-05-01 07:46:49 +00:00
parent a28d56657e
commit f2ffbcb0fd

View File

@ -21,7 +21,12 @@ Cue extends JSON with powerful features:
* Data composition with references and string interpolation * Data composition with references and string interpolation
* Multi-line strings, string interpolation * Multi-line strings, string interpolation
To learn the basics of Cue, we recommend following the tutorials at [Cuetorials](https://cuetorials.com). To get started with Cue, we recommend the following resources:
* [Cuetorials](https://cuetorials.com)
* [Cue playground](https://cuelang.org/play/)
## Writing your first plan ## Writing your first plan
@ -31,7 +36,7 @@ To create a Dagger plan:
For example: `mkdir staging`. For example: `mkdir staging`.
2. Create a new file with the `.cue` extension, and open it with any text editor or IDE. 2. Create a new file with the *.cue* extension, and open it with any text editor or IDE.
For example: `staging.cue`. For example: `staging.cue`.
@ -40,7 +45,7 @@ For example: `staging.cue`.
For example: For example:
``` ```
package staging package main
import ( import (
"dagger.io/docker" "dagger.io/docker"