Commit Graph

2 Commits

Author SHA1 Message Date
Fraser Waters c35306d798
Use publisher and repository fields to default the Go import path ()
Currently we generate an "internal" package in our Go sdks that the
other packages in the sdk need to import. This requires them to know the
base import path (because Go doesn't have relative imports).

We also want to start writing out go.mod files as part of codegen rather
than provider authors manually adding them in the sdk directory above.
This _also_ requires the import path for the module.

Rather than requiring every user to specify the base import path in the
schema "go language" section we improve the default behaviour to use the
provider and repository fields from the schema that users are probably
filling in anyway.
2024-08-07 21:02:07 +00:00
Zaid Ajaj 677477389c
[Go] Enable l2-resource-simple conformance test ()
This PR extends sdk-gen and program-gen to understand local provider SDK
references, enabling l2-resource-simple conformance test to run
successfully
2024-08-01 08:34:31 +00:00