cue/load: use cue package to interpret module.cue file
Since cue/load already depends on the CUE package, it
seems better and easier to depend on the public API
rather than the internal API, making the code a little
easier to understand and more amenable to changes
that make the schema more complex.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I113c0b17aad41fa7639fb6bf27674cbfe1149755
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/549000
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>