Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blues/note
/ newStructEncoder
Function
newStructEncoder
jsonxt/encode.go:670–673 ·
view source on GitHub ↗
(t reflect.Type)
Source
from the content-addressed store, hash-verified
668
}
669
670
func
newStructEncoder(t reflect.Type) encoderFunc {
671
se := structEncoder{fields: cachedTypeFields(t)}
672
return
se.encode
673
}
674
675
type
mapEncoder
struct
{
676
elemEnc encoderFunc
Callers
1
newTypeEncoder
Function · 0.85
Calls
1
cachedTypeFields
Function · 0.85
Tested by
no test coverage detected