all repos — searchix @ 520dcca2755dbbab13ceebdc53d03beec8b94533

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: store data separate from search index

Alan Pearce
commit

520dcca2755dbbab13ceebdc53d03beec8b94533

parent

d25925f0d7c7e0951e739473795309514f5b558a

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...) +}