1
0
mirror of https://github.com/gopasspw/gopass.git synced 2020-06-03 16:52:30 +00:00
gopass/pkg
Dominik Schulz 0cfa536d28
Add debug package (#1396)
This commit adds a new debug package to gopass.
It is heavily inspired by github.com/restic/restic/internal/debug
and adapted for the gopass use case.

This change allows to further trim down the source code since the
new package doesn't propagate the debug flag in the context anymore.
As such we can now omit passing ctx in most places.

In order to ensure we don't accidentially keep passing ununsed
parameters we also introduce unparam to check for extra arguments.

RELEASE_NOTES=[ENHANCEMENT] New Debug package

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2020-05-29 13:47:35 +02:00
..
appdir Unexport more internal packages (#1377) 2020-05-22 18:26:01 +02:00
ctxutil Add debug package (#1396) 2020-05-29 13:47:35 +02:00
fsutil Unexport more internal packages (#1380) 2020-05-22 21:38:08 +02:00
gopass Add debug package (#1396) 2020-05-29 13:47:35 +02:00
hibp Add debug package (#1396) 2020-05-29 13:47:35 +02:00
pinentry pkg/pinentry: copy response buffer to avoid reading from invalid buffer (#1383) 2020-05-23 16:12:29 +02:00
protect Update plegde call on OpenBSD. (#1015) 2018-12-19 14:11:22 +01:00
pwgen Unexport more internal packages (#1377) 2020-05-22 18:26:01 +02:00
qrcon Unexport more internal packages (#1377) 2020-05-22 18:26:01 +02:00
tempfile Add debug package (#1396) 2020-05-29 13:47:35 +02:00