chore(deps): remove qdm12/golibs dependency

- Implement friendly duration formatting locally
This commit is contained in:
Quentin McGaw
2024-08-21 13:27:30 +00:00
parent a2b3d7e30c
commit 4851bd70da
8 changed files with 105 additions and 32 deletions

View File

@@ -1,16 +1,9 @@
package cli
import "github.com/qdm12/golibs/logging"
type noopLogger struct{}
func newNoopLogger() *noopLogger {
return new(noopLogger)
}
func (l *noopLogger) Debug(string) {}
func (l *noopLogger) Info(string) {}
func (l *noopLogger) Warn(string) {}
func (l *noopLogger) Error(string) {}
func (l *noopLogger) PatchLevel(logging.Level) {}
func (l *noopLogger) PatchPrefix(string) {}
func (l *noopLogger) Info(string) {}