chore: implement debug functionality with godump integration

- Add a new dependency on `github.com/yassinebenaid/godump`
- Include `godump` in the import statements
- Add a new environment variable `DEBUG` to the existing list
- Implement a debug dump of the plugin if debugging is enabled

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy
2025-03-09 21:42:02 +08:00
parent 883f947b4f
commit 1fabfc4f97
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ require (
github.com/joho/godotenv v1.5.1
github.com/stretchr/testify v1.8.4
github.com/urfave/cli/v2 v2.27.5
github.com/yassinebenaid/godump v0.11.1
golang.org/x/crypto v0.29.0
)