Home / Function/ Test_formatBindData_BracketNotationSuccess() — fiber Function Reference

Test_formatBindData_BracketNotationSuccess() — fiber Function Reference

Architecture documentation for the Test_formatBindData_BracketNotationSuccess() function in mapping_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  454c3812_688d_0534_8523_21eea1213037["Test_formatBindData_BracketNotationSuccess()"]
  ecb7a598_be7d_ed73_d2c3_8ca5f67838de["mapping_test.go"]
  454c3812_688d_0534_8523_21eea1213037 -->|defined in| ecb7a598_be7d_ed73_d2c3_8ca5f67838de
  style 454c3812_688d_0534_8523_21eea1213037 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binder/mapping_test.go lines 580–587

func Test_formatBindData_BracketNotationSuccess(t *testing.T) {
	t.Parallel()
	out := struct{}{}
	data := make(map[string][]string)
	err := formatBindData("query", out, data, "user[name]", "john", false, true)
	require.NoError(t, err)
	require.Equal(t, "john", data["user.name"][0])
}

Domain

Subdomains

Frequently Asked Questions

What does Test_formatBindData_BracketNotationSuccess() do?
Test_formatBindData_BracketNotationSuccess() is a function in the fiber codebase, defined in binder/mapping_test.go.
Where is Test_formatBindData_BracketNotationSuccess() defined?
Test_formatBindData_BracketNotationSuccess() is defined in binder/mapping_test.go at line 580.

Analyze Your Own Codebase

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

Try Supermodel Free