Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add debug function and refactor logging in plugin.go #23

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

appleboy
Copy link
Owner

@appleboy appleboy commented Apr 1, 2023

  • Remove a line with Value: true from main.go
  • Add an import for github.com/gookit/goutil/dump in plugin.go
  • Remove three log statements and replace them with a call to p.dump() in plugin.go
  • Add a dump function in plugin.go to print debug information

refer to appleboy/lambda-action#42

- Remove a line with `Value: true` from `main.go`
- Add an import for `github.com/gookit/goutil/dump` in `plugin.go`
- Remove three log statements and replace them with a call to `p.dump()` in `plugin.go`
- Add a `dump` function in `plugin.go` to print debug information

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 6f2d5b6 into master Apr 1, 2023
@appleboy appleboy deleted the patch2 branch April 1, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant