Decode() — gin Function Reference
Architecture documentation for the Decode() function in json_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD e6fe1bdc_bdb8_67d4_131d_4cd209dfca6f["Decode()"] 4a970d1c_f005_810c_7536_38ec12286aaf["Decode()"] 4a970d1c_f005_810c_7536_38ec12286aaf -->|calls| e6fe1bdc_bdb8_67d4_131d_4cd209dfca6f 4a970d1c_f005_810c_7536_38ec12286aaf["Decode()"] e6fe1bdc_bdb8_67d4_131d_4cd209dfca6f -->|calls| 4a970d1c_f005_810c_7536_38ec12286aaf style e6fe1bdc_bdb8_67d4_131d_4cd209dfca6f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binding/json_test.go lines 203–214
func (tpc timePointerCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator) {
ts := iter.ReadString()
if len(ts) == 0 {
*((**time.Time)(ptr)) = nil
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