Home / Function/ IsEmpty() — gin Function Reference

IsEmpty() — gin Function Reference

Architecture documentation for the IsEmpty() function in json_test.go from the gin codebase.

Function go DataBinding Validators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  1f019a09_e396_627d_3477_c442427185ba["IsEmpty()"]
  1f3c10bb_1276_e8c6_ab1b_d38789c20c6e["IsEmpty()"]
  1f3c10bb_1276_e8c6_ab1b_d38789c20c6e -->|calls| 1f019a09_e396_627d_3477_c442427185ba
  1f3c10bb_1276_e8c6_ab1b_d38789c20c6e["IsEmpty()"]
  1f019a09_e396_627d_3477_c442427185ba -->|calls| 1f3c10bb_1276_e8c6_ab1b_d38789c20c6e
  style 1f019a09_e396_627d_3477_c442427185ba fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binding/json_test.go lines 189–192

func (tpc timePointerCodec) IsEmpty(ptr unsafe.Pointer) bool {
	t := *((**time.Time)(ptr))
	return t == nil || (*t).Equal(zeroTime)
}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does IsEmpty() do?
IsEmpty() is a function in the gin codebase.
What does IsEmpty() call?
IsEmpty() calls 1 function(s): IsEmpty.
What calls IsEmpty()?
IsEmpty() is called by 1 function(s): IsEmpty.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free