Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix typo (#108)
  • Loading branch information
chai2010 committed Jul 30, 2020
1 parent 13089da commit 92dbe8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/en/docs/usecases/query.md
Expand Up @@ -23,9 +23,9 @@ In the mean time, you can query data programmatically using the CUE API.
What you will need to do is

- load data and constraints using
`cuelang.org/cue.Runtime` or
`cuelang.org/cue/load.Packages`.
- Walk over data using `cuelang.org/cue.Value`'s `Walk` method
`cuelang.org/go/cue.Runtime` or
`cuelang.org/go/cue/load.Instances`.
- Walk over data using `cuelang.org/go/cue.Value`'s `Walk` method
or look up specific values.
- call `pattern.Subsumes(value)`, where `pattern` and `value` are
`cue.Value`s to see if value is an instance of pattern.

0 comments on commit 92dbe8c

Please sign in to comment.