Docs: improve details

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

View File

@ -12,14 +12,10 @@ of GCL, the language used to configure all of Google's infrastructure.
Cue extends JSON with powerful features:
* Go-like tooling and package system
* Custom types
* Schemas
* Templating
* Reusable packages
* Builtin functions
* Data composition with references and string interpolation
* Multi-line strings, string interpolation
* Composition: layering, templating, references
* Correctness: types, schemas
* Developer experience: comments, packages, first-class tooling, builtin functions
* And mucn more.
To get started with Cue, we recommend the following resources:
@ -27,7 +23,6 @@ To get started with Cue, we recommend the following resources:
* [Cue playground](https://cuelang.org/play/)
## Writing your first plan
To create a Dagger plan:
@ -80,6 +75,10 @@ For more inspiration, see these examples:
For example:
```
import (
"strings"
)
// Create a relay definition which generates a greeting message
#Greeting: {
salutation: string | *"hello"