Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

What's the best way to debug a cue.Value in debug console? #812

Answered by mpvl
Rots asked this question in Q&A
Discussion options

You must be logged in to vote

CUE values implement fmt.Formatter, so you can use fmt.Sprint(v) and friends. You can get different levels of details by using fmt.Sprintf("%+v", v) and fmt.Sprintf("%#v", v).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Rots
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants