Skip to content

Modules with the generated protobuf go files need to have a go.mod file #482

@sandersms

Description

@sandersms

With the introduction of the newer versions of golang >1.18 imported modules should have a go.mod file to define the language setting.

When using the new generated protobuf files, the opi-xxx-bridge code examples were failing with the newly generated files due to predeclared types which required newer versions of go. If a module doesn't have a go.mod definition with the language setting specified, it will default to 1.16. Many of the new declarations are not supported in 1.16 and the compile will fail.

Adding a go.mod file to the specific modules is required.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions