This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Importing remote modules #730
Unanswered
joscha-alisch
asked this question in
Q&A
Replies: 2 comments 7 replies
-
I found that I can at least emulate this, by using a git submodule at |
Beta Was this translation helpful? Give feedback.
7 replies
-
This discussion has been migrated to cue-lang/cue#730. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to create a module and import it from another module. Since the cue mod structure is very similar to go mod, I just assumed that one can import modules from for example github.com. I'm getting the impression that this might just not be implemented (yet) though.
I have followed the instructions at https://cuelang.org/docs/concepts/packages and created a git repo with my module. See here: https://github.com/joscha-alisch/cuemodule
However when I create a cue file like this locally
cue fails with
I assume that only local imports work at the moment? Is this something that you plan to implement at some point to allow sharing cue modules (like the generated k8s schema for example)?
Beta Was this translation helpful? Give feedback.
All reactions