Decode() — gin Function Reference
Architecture documentation for the Decode() function in json_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 4a970d1c_f005_810c_7536_38ec12286aaf["Decode()"] e6fe1bdc_bdb8_67d4_131d_4cd209dfca6f["Decode()"] e6fe1bdc_bdb8_67d4_131d_4cd209dfca6f -->|calls| 4a970d1c_f005_810c_7536_38ec12286aaf e6fe1bdc_bdb8_67d4_131d_4cd209dfca6f["Decode()"] 4a970d1c_f005_810c_7536_38ec12286aaf -->|calls| e6fe1bdc_bdb8_67d4_131d_4cd209dfca6f style 4a970d1c_f005_810c_7536_38ec12286aaf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/json_test.go lines 147–158
func (tc timeCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator) {
ts := iter.ReadString()
if len(ts) == 0 {
*((*time.Time)(ptr)) = zeroTime
return
}
t, err := time.ParseInLocation("2006-01-02 15:04:05.000", ts, time.Local)
if err != nil {
panic(err)
}
*((*time.Time)(ptr)) = t
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does Decode() do?
Decode() is a function in the gin codebase.
What does Decode() call?
Decode() calls 1 function(s): Decode.
What calls Decode()?
Decode() is called by 1 function(s): Decode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free