This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
cmd/cue: rename 'get go' to 'import go' #646
Labels
Milestone
Comments
myitcv
added
FeatureRequest
New feature or request
get go
issues related to cue get go
labels
Jan 19, 2021
This was referenced Jan 19, 2021
Closed
This was referenced May 30, 2021
This was referenced Jul 3, 2021
This issue has been migrated to cue-lang/cue#646. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Splitting out a separate issue for the rename of
get go
toimport go
from #621 (comment)Other points to consider:
cue import go
should adoptgo test
-like behaviour of making progress where it can. For example, if you runcue import go ./...
and one package in the set that is matched by./...
fails to type check, then we should generate definitions for those packages that do type check rather than failing the entire processcue get go
has a--local
flag. In a world of modules this flag is, I think, redundant. Because if you were to runcue import go
on a main module package, it would be strange for it to be placed within thecue.mod/
hierarchy. It only makes sense for such definitions to be generated alongside the Go code from which they were generatedcue import go
should run withGOFLAGS=-mod=readonly
to enforce that all dependencies are available.cue
files (happens as part of the walk of the directories containingCompiledGoFiles
)cue.mod/gen
hierarchy, not thecue.mod/pkg
as it is todayThe text was updated successfully, but these errors were encountered: