Skip to content

bug: unable to do relative imports in Go language #6941

@rishirajkumar97

Description

@rishirajkumar97

Describe the bug

Hi Team,
we are trying to develop a complex data workflow on windmill with a high throughput, and for our use case we are trying out Go Language. But when I tried to do relative imports or adding it to the same package to group and access it its not working as expected getting errors like unrecognized class - Class ABC

As we would potentially have a lot of shared logic for helpers, and also data transfer structs potentially we are not able to organise the code neatly.

Is this a current limitation of the product? I also look up at the shared logic documentation in windmill website , and it specified for only python and Typescript.

Please do let me know if this is a expected limitation at at the moment or is there ways to over come this?

To reproduce

Trying relative imports of files in Go Language under same package - for better code organisation of shared logics

Results in unknown classes or structs

Expected behavior

Successfully reference the class and load them into memory - either grouped by package or by manual imports of those files.

Screenshots

No response

Browser information

No response

Application version

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions