Skip to content

Move internal/encoding to encoding ? #448

Answered by cueckoo
cueckoo asked this question in General
Discussion options

You must be logged in to vote

Original reply by @mpvl in cuelang/cue#448 (comment)

I'm generally fine with that. I wan't sure whether the constants were in the right package and whether this should be only exposed as a higher-level construct in the load package.

We also wanted to change ParseFile(filename string, src interface{}) signature to something like Parse(src Source) to allow something like Parse(build.Bytes(filename, b)), for instance.

Replies: 2 comments

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by cueckoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant