Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/gocode: simplify testdata/gen.go
We can use cue/load directly to load all CUE packages in one go. This saves us having to manually read the directory and loop. Moreover, we can use a simpler cue/load.Config as well. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I2290bfa4f6e4352e54df8dc5dad0c45ef01f5f19 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201335 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Roger Peppe <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information