Mirror of https://github.com/cue-lang/cue cuelang.org
cue go
Something went wrong. Try again.
encoding: add godoc hints for cue/ast result types master
For each public API that returns an ast.File or ast.Expr, give a hint to the user in terms of what they likely want to do with it. Otherwise it's difficult to guess that they need cue.Context.BuildExpr, given that it lives in a different package and is not a top-level func. While here, do very minor tweaks as well, like linkifying io.EOF. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: Idf23ea15e306fc845d8e24e41a92c31e7582bbc5 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1233277 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Paul Jolly <paul@myitcv.io>
Author Daniel Martí Date (Mar 10, 2026, 10:23 AM UTC) Commit d8a8c797 d8a8c797764435a03563c653a4e201df476bd68b Parent dd80ba6b dd80ba6b455f1b1481ded87b70cf5d582c5a7c5d