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

Wrap ast.Expr into a valid ast.File? #444

Answered by shykes
shykes asked this question in General
Discussion options

You must be logged in to vote

I got the answer from @mpvl on slack: "cuelang.org/go/cue/ast/astutil".ToFile. Thank you!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by shykes
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
Labels
None yet
2 participants