Skip to content

Commit

Permalink
✅ Fix example_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
nkmr-jp committed Sep 23, 2023
1 parent 4e893b9 commit 64a6db9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ semver:
# - lipstick
patch:
- memo
- white_check_mark
# none: # gitmoji.json "semver": null is convert to none
# - pencil2
ignore: # not add in release-template.hbs
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func ExampleSetVersion() {
fmt.Println(string(bytes))

// Output:
// {"severity":"DEBUG","caller":"zl/zl.go:82","message":"INIT_LOGGER","version":"v1.0.0","console":"Severity: DEBUG, Output: ConsoleAndFile, File: ./log/example-set-version_v1.0.0.jsonl"}
// {"severity":"DEBUG","caller":"zl/zl.go:85","message":"INIT_LOGGER","version":"v1.0.0","console":"Severity: DEBUG, Output: ConsoleAndFile, File: ./log/example-set-version_v1.0.0.jsonl"}
// {"severity":"INFO","caller":"https://github.com/nkmr-jp/zl/blob/v1.0.0/example_test.go#L135","message":"INFO_MESSAGE","version":"v1.0.0","detail":"detail info xxxxxxxxxxxxxxxxx"}
// {"severity":"WARN","caller":"https://github.com/nkmr-jp/zl/blob/v1.0.0/example_test.go#L136","message":"WARN_MESSAGE","version":"v1.0.0","detail":"detail info xxxxxxxxxxxxxxxxx"}

Expand Down

0 comments on commit 64a6db9

Please sign in to comment.