feat: store data separate from search index
1 file changed, 15 insertions(+), 0 deletions(-)
changed files
A internal/storage/log.go
@@ -0,0 +1,15 @@ +package storage + +import "go.uber.org/zap" + +type Logger struct { + *zap.SugaredLogger +} + +func (l Logger) Warning(v ...any) { + l.Warn(v...) +} + +func (l Logger) Warningf(format string, v ...any) { + l.Warnf(format, v...) +}