Search before asking
What happened
I tried to create a new plugin following the instructions in the docs, but some of the code generated using the template had incorrect import paths. For example, the following import path was wrong:
package main
import (
"github.com/apache/incubator-devlake/plugins/trello/impl"
"github.com/apache/incubator-devlake/runner" // incorrect
"github.com/spf13/cobra"
)
I also discovered that this issue was caused by #3884.
What do you expect to happen
correct import path, for example
package main
import (
"github.com/apache/incubator-devlake/plugins/trello/impl"
"github.com/apache/incubator-devlake/core/runner" // correct
"github.com/spf13/cobra"
)
How to reproduce
go run generator/main.go create-plugin test
Anything else
No response
Version
main
Are you willing to submit PR?
Code of Conduct
Search before asking
What happened
I tried to create a new plugin following the instructions in the docs, but some of the code generated using the template had incorrect import paths. For example, the following import path was wrong:
I also discovered that this issue was caused by #3884.
What do you expect to happen
correct import path, for example
How to reproduce
Anything else
No response
Version
main
Are you willing to submit PR?
Code of Conduct