database: initial import for dsn parsing #275

Merged
vtolstov merged 2 commits from database into master 2023-11-01 23:44:02 +03:00
Showing only changes of commit cc81bed81d - Show all commits

View File

@ -2,7 +2,6 @@ package logger
import (
"context"
"fmt"
"io"
"log/slog"
"os"
@ -70,7 +69,6 @@ func WithContextAttrFuncs(fncs ...ContextAttrFunc) options.Option {
for _, l := range fncs {
cv = reflect.Append(cv, reflect.ValueOf(l))
}
fmt.Printf("EEEE %#+v\n", cv.Interface())
return options.Set(src, cv.Interface(), ".ContextAttrFuncs")
}
}