Skip to content

Commit

Permalink
Add goModule config
Browse files Browse the repository at this point in the history
  • Loading branch information
Slavko Rihtaric committed Aug 29, 2024
1 parent b3a9a94 commit d0b4690
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/sdk-gen-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"packageVersion": "{VERSION}",
"packageName": "databox",
"goVersion":"1.22"
"goVersion":"1.22",
"goModule": "github.com/databox/databox-go"
}
2 changes: 1 addition & 1 deletion codegen-template/go.mod.mustache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module {{gitHost}}/{{gitUserId}}/{{gitRepoId}}{{#isGoSubmodule}}/{{packageName}}{{/isGoSubmodule}}
module {{goModule}}{{#isGoSubmodule}}/{{packageName}}{{/isGoSubmodule}}

go {{goVersion}}

Expand Down

0 comments on commit d0b4690

Please sign in to comment.