cuelang / cue

CUE has moved to https://github.com/cue-lang/cue
https://cuelang.org
Apache License 2.0
3.09k stars 171 forks source link

encoding/gocode(/gocodec): provide non-deprecated API #1035

Closed myitcv closed 3 years ago

myitcv commented 3 years ago

What version of CUE are you using (cue version)?

$ cue version
v0.4.0

Does this issue reproduce with the latest release?

Yes

What did you do?

Tried to use the encoding/gocode/gocodec or encoding/gocode APIs.

What did you expect to see?

No staticcheck errors.

What did you see instead?

Errors warning me that I am using deprecated cue.Runtime or cue.Instance.

As part of this we should also address https://github.com/cuelang/cuelang.org/pull/183

cueckoo commented 3 years ago

This issue has been migrated to https://github.com/cue-lang/cue/issues/1035.

For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.