Home / Function/ UnmarshalText() — gin Function Reference

UnmarshalText() — gin Function Reference

Architecture documentation for the UnmarshalText() function in form_mapping_test.go from the gin codebase.

Function go DataBinding Validators calls 1 called by 4

Entity Profile

Dependency Diagram

graph TD
  76a61747_14da_3b9d_2ae0_daa34304d0ef["UnmarshalText()"]
  fdd1b456_d6a0_a8bc_497d_d3b7c5371c9e["UnmarshalText()"]
  fdd1b456_d6a0_a8bc_497d_d3b7c5371c9e -->|calls| 76a61747_14da_3b9d_2ae0_daa34304d0ef
  16eb557a_9618_dcaa_f191_b5470389e8e3["UnmarshalText()"]
  16eb557a_9618_dcaa_f191_b5470389e8e3 -->|calls| 76a61747_14da_3b9d_2ae0_daa34304d0ef
  1f51edf4_bd93_88cb_0529_3110943ada58["UnmarshalText()"]
  1f51edf4_bd93_88cb_0529_3110943ada58 -->|calls| 76a61747_14da_3b9d_2ae0_daa34304d0ef
  39a6a90e_ece2_41a2_2641_262ee0d2aedb["UnmarshalText()"]
  39a6a90e_ece2_41a2_2641_262ee0d2aedb -->|calls| 76a61747_14da_3b9d_2ae0_daa34304d0ef
  16eb557a_9618_dcaa_f191_b5470389e8e3["UnmarshalText()"]
  76a61747_14da_3b9d_2ae0_daa34304d0ef -->|calls| 16eb557a_9618_dcaa_f191_b5470389e8e3
  style 76a61747_14da_3b9d_2ae0_daa34304d0ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binding/form_mapping_test.go lines 744–751

func (f *customUnmarshalTextHex) UnmarshalText(text []byte) error {
	v, err := strconv.ParseInt(string(text), 16, 64)
	if err != nil {
		return err
	}
	*f = customUnmarshalTextHex(v)
	return nil
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free