We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2795d79 commit 76642acCopy full SHA for 76642ac
slogval/reflect.go
@@ -22,11 +22,6 @@ func Reflect(fs []slog.Field) Map {
22
return m
23
}
24
25
-// PureReflect is like reflect but only uses
26
-func PureReflect(v interface{}) {
27
- panic("TODO")
28
-}
29
-
30
func reflectValue(rv reflect.Value) Value {
31
if !rv.IsValid() {
32
// reflect.ValueOf(nil).IsValid == false
slogval/val.go renamed to slogval/slogval.go
@@ -1,3 +1,5 @@
1
+// Package slogval is used by the default sloggers to take a []slog.Field
2
+// and convert it into a easily marshable slogval.Value.
3
package slogval // import "go.coder.com/slog/slogval"
4
5
import (
0 commit comments