diff --git a/paramgen/README.md b/paramgen/README.md index eb125b1..667bfef 100644 --- a/paramgen/README.md +++ b/paramgen/README.md @@ -118,7 +118,7 @@ A file called `paramgen.go` will be created under `./source`: ```go // Code generated by ParamGen. DO NOT EDIT. -// Source: github.com/conduitio/conduit-commons/paramgen +// Source: github.com/conduitio/conduit-commons/tree/main/paramgen package source diff --git a/paramgen/internal/template.go b/paramgen/internal/template.go index 794feff..be04fff 100644 --- a/paramgen/internal/template.go +++ b/paramgen/internal/template.go @@ -28,7 +28,7 @@ import ( const ( tmpl = `// Code generated by paramgen. DO NOT EDIT. -// Source: github.com/ConduitIO/conduit-commons/tree/main/config/paramgen +// Source: github.com/ConduitIO/conduit-commons/tree/main/paramgen package {{ $.Package }} diff --git a/paramgen/internal/template_test.go b/paramgen/internal/template_test.go index 88697b7..63ac45b 100644 --- a/paramgen/internal/template_test.go +++ b/paramgen/internal/template_test.go @@ -51,7 +51,7 @@ func TestGenerateCodeWithRegex(t *testing.T) { }, "s3", "SourceConfig") want := `// Code generated by paramgen. DO NOT EDIT. -// Source: github.com/ConduitIO/conduit-commons/tree/main/config/paramgen +// Source: github.com/ConduitIO/conduit-commons/tree/main/paramgen package s3 @@ -114,7 +114,7 @@ func TestGenerateCodeWithoutRegex(t *testing.T) { }, "file", "Config") want := `// Code generated by paramgen. DO NOT EDIT. -// Source: github.com/ConduitIO/conduit-commons/tree/main/config/paramgen +// Source: github.com/ConduitIO/conduit-commons/tree/main/paramgen package file