database: initial import for dsn parsing #275
@ -2,7 +2,6 @@ package logger
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"log/slog"
|
"log/slog"
|
||||||
"os"
|
"os"
|
||||||
@ -70,7 +69,6 @@ func WithContextAttrFuncs(fncs ...ContextAttrFunc) options.Option {
|
|||||||
for _, l := range fncs {
|
for _, l := range fncs {
|
||||||
cv = reflect.Append(cv, reflect.ValueOf(l))
|
cv = reflect.Append(cv, reflect.ValueOf(l))
|
||||||
}
|
}
|
||||||
fmt.Printf("EEEE %#+v\n", cv.Interface())
|
|
||||||
return options.Set(src, cv.Interface(), ".ContextAttrFuncs")
|
return options.Set(src, cv.Interface(), ".ContextAttrFuncs")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user