Skip to content

Commit

Permalink
cue: fix godoc links
Browse files Browse the repository at this point in the history
The cue package can't import the cuecontext package due to cycles,
so we have to spell out the entire cuecontext import path.

Also, use a bullet list rather than a code block so that links render.

Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I959e35463e65b1d7a313de386b4ec49343e36fd4
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194420
Reviewed-by: Paul Jolly <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
  • Loading branch information
mvdan committed May 8, 2024
1 parent bd9e49f commit 4ed59e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cue/cue.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Package cue is the main API for CUE evaluation.
//
// [Value] is the main type that represents CUE evaluations.
// Values are created with a [cuecontext.Context].
// Values are created with a [cuelang.org/go/cue/cuecontext.Context].
// Only values created from the same Context can be involved in the same operation.
// Values created from the same Context are not safe for concurrent use,
// which we intend to change in the future.
Expand All @@ -32,10 +32,10 @@
// Note that the following types are DEPRECATED and their usage should be
// avoided if possible:
//
// [FieldInfo]
// [Instance]
// [Runtime]
// [Struct]
// - [FieldInfo]
// - [Instance]
// - [Runtime]
// - [Struct]
//
// Many types also have deprecated methods. Code that already uses deprecated
// methods can keep using them for at least some time. We aim to provide a
Expand Down

0 comments on commit 4ed59e7

Please sign in to comment.