-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go module file generation #2090
Labels
effort/medium
Medium work item – a couple days of effort
feature-request
A feature should be added or improved.
language/go
Regarding GoLang bindings
Milestone
Comments
SoManyHs
added a commit
to SoManyHs/jsii
that referenced
this issue
Nov 19, 2020
SoManyHs
added a commit
to SoManyHs/jsii
that referenced
this issue
Nov 19, 2020
SoManyHs
added a commit
to SoManyHs/jsii
that referenced
this issue
Nov 19, 2020
SoManyHs
added a commit
to SoManyHs/jsii
that referenced
this issue
Nov 19, 2020
SoManyHs
added a commit
to SoManyHs/jsii
that referenced
this issue
Nov 19, 2020
RomainMuller
pushed a commit
that referenced
this issue
Nov 20, 2020
Closes #2090 Co-authored-by: Valine <[email protected]> Co-authored-by: Mitchell Valine <[email protected]>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
effort/medium
Medium work item – a couple days of effort
feature-request
A feature should be added or improved.
language/go
Regarding GoLang bindings
jsii-pacmak currently doesn't output go.mod files for generated go modules. This relies on users to write their own module definition files based on the structure of their output directory.
Each package should generate a go.mod file next to the root package source file. The go.mod file should declare a dependency on the JSII runtime (with the same version of the jsii-pacmak being run to do the output). It should also declare dependencies on each of the JSII modules that it uses. Each of these dependencies is available in the .jsii assembly and the version for each in go.mod should match what is provided there.
Example of expected file structure:
The text was updated successfully, but these errors were encountered: