Skip to content

Commit

Permalink
fix source code path
Browse files Browse the repository at this point in the history
  • Loading branch information
lovromazgon committed Feb 15, 2024
1 parent 894e0fa commit 13f4b2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion paramgen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion paramgen/internal/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions paramgen/internal/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 13f4b2a

Please sign in to comment.