Skip to content

Commit

Permalink
refactor: rename example config
Browse files Browse the repository at this point in the history
  • Loading branch information
tmzane committed Sep 9, 2023
1 parent b3b3840 commit f0eff82
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions codegen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
. "go-simpler.org/assert/dotimport"
)

//go:generate go run main.go codegen.go -config=.slog.example.yml

func Test_readConfig(t *testing.T) {
r := strings.NewReader(`
pkg: test
Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"go-simpler.org/errorsx"
)

//go:generate go run main.go codegen.go -config=.slog.yml

func main() {
if err := run(); err != nil {
fmt.Println(err)
Expand Down

0 comments on commit f0eff82

Please sign in to comment.