FormBinding — gin Architecture
Handling of multipart and URL-encoded form data
Entity Profile
Dependency Diagram
graph TD subdomain_RequestBinding_FormBinding["FormBinding"] 092602ef_72a7_e495_d406_50bc5b00b360["binding_nomsgpack.go"] subdomain_RequestBinding_FormBinding --> 092602ef_72a7_e495_d406_50bc5b00b360 0ccf003c_9bb1_5074_941e_d35f2baa2ccb["multipart_form_mapping_test.go"] subdomain_RequestBinding_FormBinding --> 0ccf003c_9bb1_5074_941e_d35f2baa2ccb 89f71d9f_3ee5_74a2_c038_924a7433e1bd["binding.go"] subdomain_RequestBinding_FormBinding --> 89f71d9f_3ee5_74a2_c038_924a7433e1bd 2b798f99_e660_7740_ea9e_4efba35f9bb9["toml_test.go"] subdomain_RequestBinding_FormBinding --> 2b798f99_e660_7740_ea9e_4efba35f9bb9 807df86b_7577_e40d_d191_79f62aef00ef["yaml_test.go"] subdomain_RequestBinding_FormBinding --> 807df86b_7577_e40d_d191_79f62aef00ef 652e7bf5_3c89_5be4_42af_9fdbc680bb55["form_mapping_benchmark_test.go"] subdomain_RequestBinding_FormBinding --> 652e7bf5_3c89_5be4_42af_9fdbc680bb55 0bcba57f_f00e_ed0e_0516_ee30758711c8["form_mapping.go"] subdomain_RequestBinding_FormBinding --> 0bcba57f_f00e_ed0e_0516_ee30758711c8 21e76dcb_3149_c38e_f1a2_e4347c4939cd["plain.go"] subdomain_RequestBinding_FormBinding --> 21e76dcb_3149_c38e_f1a2_e4347c4939cd 1762639a_0964_0d61_352c_9dddc8df93ff["multipart_form_mapping.go"] subdomain_RequestBinding_FormBinding --> 1762639a_0964_0d61_352c_9dddc8df93ff 314c6481_2bd0_e5a7_282c_94e41df6062a["binding_test.go"] subdomain_RequestBinding_FormBinding --> 314c6481_2bd0_e5a7_282c_94e41df6062a 36de44f8_6a8c_78ab_4c20_59952e276c82["form_mapping_test.go"] subdomain_RequestBinding_FormBinding --> 36de44f8_6a8c_78ab_4c20_59952e276c82 8ccb5bd5_380e_d8a4_bcf5_8585ce18a557["xml.go"] subdomain_RequestBinding_FormBinding --> 8ccb5bd5_380e_d8a4_bcf5_8585ce18a557 9b14f5fa_5262_44b1_edb8_65be9c4d447d["xml_test.go"] subdomain_RequestBinding_FormBinding --> 9b14f5fa_5262_44b1_edb8_65be9c4d447d 35f89c70_61d0_e90b_b96b_49fce8878e4b["msgpack_test.go"] subdomain_RequestBinding_FormBinding --> 35f89c70_61d0_e90b_b96b_49fce8878e4b style subdomain_RequestBinding_FormBinding fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Domain
Functions
- BenchmarkMapFormFull()
- BenchmarkMapFormName()
- Default()
- Default()
- MapFormWithTag()
- TestBindingBSON()
- TestBindingDefault()
- TestBindingDefaultMsgPack()
- TestBindingDefaultValueFormPost()
- TestBindingForm()
- TestBindingForm2()
- TestBindingFormDefaultValue()
- TestBindingFormDefaultValue2()
- TestBindingFormEmbeddedStruct()
- TestBindingFormEmbeddedStruct2()
- TestBindingFormFilesMultipart()
- TestBindingFormFilesMultipartFail()
- TestBindingFormForTime()
- TestBindingFormForTime2()
- TestBindingFormForType()
- TestBindingFormInvalidName()
- TestBindingFormInvalidName2()
- TestBindingFormMultipart()
- TestBindingFormMultipartForMap()
- TestBindingFormMultipartForMapFail()
- TestBindingFormPost()
- TestBindingFormPostForMap()
- TestBindingFormPostForMapFail()
- TestBindingFormStringMap()
- TestBindingFormStringSliceMap()
- TestBindingJSON()
- TestBindingJSONDisallowUnknownFields()
- TestBindingJSONNilBody()
- TestBindingJSONSlice()
- TestBindingJSONStringMap()
- TestBindingJSONUseNumber()
- TestBindingJSONUseNumber2()
- TestBindingMsgPack()
- TestBindingProtoBuf()
- TestBindingProtoBufFail()
- TestBindingQuery()
- TestBindingQuery2()
- TestBindingQueryBoolFail()
- TestBindingQueryFail()
- TestBindingQueryFail2()
- TestBindingQueryStringMap()
- TestBindingTOML()
- TestBindingTOMLFail()
- TestBindingXML()
- TestBindingXMLFail()
- TestBindingYAML()
- TestBindingYAMLFail()
- TestBindingYAMLStringMap()
- TestCustomJsonCodec()
- TestFormBindingFail()
- TestFormBindingIgnoreField()
- TestFormBindingMultipartFail()
- TestFormMultipartBindingBindError()
- TestFormMultipartBindingBindOneFile()
- TestFormMultipartBindingBindTwoFiles()
- TestFormMultipartBindingFail()
- TestFormPostBindingFail()
- TestHeaderBinding()
- TestJSONBindingBindBody()
- TestJSONBindingBindBodyMap()
- TestMapFormWithTag()
- TestMappingArray()
- TestMappingBaseTypes()
- TestMappingCollectionFormat()
- TestMappingCollectionFormatInvalid()
- TestMappingCustomArrayForm()
- TestMappingCustomArrayOfArrayForm()
- TestMappingCustomArrayOfArrayUnmarshalTextDefault()
- TestMappingCustomArrayOfArrayUnmarshalTextForm()
- TestMappingCustomArrayOfArrayUnmarshalTextUri()
- TestMappingCustomArrayOfArrayUri()
- TestMappingCustomArrayUnmarshalTextForm()
- TestMappingCustomArrayUnmarshalTextUri()
- TestMappingCustomArrayUri()
- TestMappingCustomPointerStructTypeUnmarshalTextForm()
- TestMappingCustomPointerStructTypeUnmarshalTextUri()
- TestMappingCustomPointerStructTypeWithFormTag()
- TestMappingCustomPointerStructTypeWithURITag()
- TestMappingCustomSliceForm()
- TestMappingCustomSliceOfSliceForm()
- TestMappingCustomSliceOfSliceUnmarshalTextDefault()
- TestMappingCustomSliceOfSliceUnmarshalTextForm()
- TestMappingCustomSliceOfSliceUnmarshalTextUri()
- TestMappingCustomSliceOfSliceUri()
- TestMappingCustomSliceStopsWhenError()
- TestMappingCustomSliceUnmarshalTextForm()
- TestMappingCustomSliceUnmarshalTextStopsWhenError()
- TestMappingCustomSliceUnmarshalTextUri()
- TestMappingCustomSliceUri()
- TestMappingCustomStructTypeUnmarshalTextForm()
- TestMappingCustomStructTypeUnmarshalTextUri()
- TestMappingCustomStructTypeWithFormTag()
- TestMappingCustomStructTypeWithURITag()
- TestMappingCustomUnmarshalParamHexDefault()
- TestMappingCustomUnmarshalParamHexWithFormTag()
- TestMappingCustomUnmarshalParamHexWithURITag()
- TestMappingCustomUnmarshalTextHexDefault()
- TestMappingCustomUnmarshalTextHexForm()
- TestMappingCustomUnmarshalTextHexUri()
- TestMappingDefault()
- TestMappingEmptyValues()
- TestMappingForm()
- TestMappingFormFieldNotSent()
- TestMappingFormWithEmptyToDefault()
- TestMappingIgnoreField()
- TestMappingIgnoredCircularRef()
- TestMappingMapField()
- TestMappingMultipleDefaultWithCollectionFormat()
- TestMappingPrivateField()
- TestMappingPtrField()
- TestMappingSkipField()
- TestMappingSlice()
- TestMappingStructField()
- TestMappingTime()
- TestMappingTimeDuration()
- TestMappingTimeUnixNano()
- TestMappingURI()
- TestMappingUnexportedField()
- TestMappingUnknownFieldType()
- TestMappingUsingBindUnmarshalerAndTextUnmarshalerWhenOnlyBindUnmarshalerDefined()
- TestMappingUsingBindUnmarshalerAndTextUnmarshalerWhenOnlyTextUnmarshalerDefined()
- TestMappingUsingTextUnmarshalerWhenBindUnmarshalerAlsoDefined()
- TestMsgpackBindingBindBody()
- TestPlainBinding()
- TestRequiredFails()
- TestRequiredSucceeds()
- TestTOMLBindingBindBody()
- TestUriBinding()
- TestUriInnerBinding()
- TestValidateAndModifyStruct()
- TestValidatePrimitives()
- TestXMLBindingBindBody()
- TestYAMLBindingBindBody()
- assertMultipartFileHeader()
- convertTo()
- convertToOidUnmarshalText()
- createDefaultFormPostRequest()
- createFormFilesMultipartRequest()
- createFormFilesMultipartRequestFail()
- createFormMultipartRequest()
- createFormMultipartRequestForMap()
- createFormMultipartRequestForMapFail()
- createFormPostRequest()
- createFormPostRequestForMap()
- createFormPostRequestForMapFail()
- createRequestMultipartFiles()
- decodeJSON()
- decodeMsgPack()
- decodePlain()
- decodeToml()
- decodeXML()
- decodeYAML()
- head()
- init()
- mapForm()
- mapFormByTag()
- mapHeader()
- mapURI()
- mapping()
- mappingByPtr()
- msgpackBody()
- notOne()
- requestWithBody()
- setArray()
- setArrayOfMultipartFormFiles()
- setBoolField()
- setByForm()
- setByMultipartFormFile()
- setFloatField()
- setFormMap()
- setIntField()
- setSlice()
- setTimeDuration()
- setTimeField()
- setUintField()
- setWithProperType()
- testBodyBinding()
- testBodyBindingDisallowUnknownFields()
- testBodyBindingFail()
- testBodyBindingSlice()
- testBodyBindingStringMap()
- testBodyBindingUseNumber()
- testBodyBindingUseNumber2()
- testFormBinding()
- testFormBindingDefaultValue()
- testFormBindingEmbeddedStruct()
- testFormBindingForTime()
- testFormBindingForTimeFailFormat()
- testFormBindingForTimeFailLocation()
- testFormBindingForTimeNotFormat()
- testFormBindingForTimeNotUnixFormat()
- testFormBindingForType()
- testFormBindingIgnoreField()
- testFormBindingInvalidName()
- testFormBindingInvalidName2()
- testMsgPackBodyBinding()
- testProtoBodyBinding()
- testProtoBodyBindingFail()
- testQueryBinding()
- testQueryBindingBoolFail()
- testQueryBindingFail()
- toZero()
- trySetCustom()
- trySetUsingParser()
- trySplit()
- tryToSetValue()
- validate()
- validate()
Source Files
- binding/binding.go
- binding/binding_msgpack_test.go
- binding/binding_nomsgpack.go
- binding/binding_test.go
- binding/form_mapping.go
- binding/form_mapping_benchmark_test.go
- binding/form_mapping_test.go
- binding/header.go
- binding/json.go
- binding/json_test.go
- binding/msgpack.go
- binding/msgpack_test.go
- binding/multipart_form_mapping.go
- binding/multipart_form_mapping_test.go
- binding/plain.go
- binding/toml.go
- binding/toml_test.go
- binding/xml.go
- binding/xml_test.go
- binding/yaml.go
- binding/yaml_test.go
Source
- binding/binding.go
- binding/binding_msgpack_test.go
- binding/binding_nomsgpack.go
- binding/binding_test.go
- binding/form_mapping.go
- binding/form_mapping_benchmark_test.go
- binding/form_mapping_test.go
- binding/header.go
- binding/json.go
- binding/json_test.go
- binding/msgpack.go
- binding/msgpack_test.go
- binding/multipart_form_mapping.go
- binding/multipart_form_mapping_test.go
- binding/plain.go
- binding/toml.go
- binding/toml_test.go
- binding/xml.go
- binding/xml_test.go
- binding/yaml.go
- binding/yaml_test.go
Frequently Asked Questions
What is the FormBinding subdomain?
FormBinding is a subdomain in the gin codebase, part of the RequestBinding domain. Handling of multipart and URL-encoded form data It contains 21 source files.
Which domain does FormBinding belong to?
FormBinding belongs to the RequestBinding domain.
What functions are in FormBinding?
The FormBinding subdomain contains 213 function(s): BenchmarkMapFormFull, BenchmarkMapFormName, Default, Default, MapFormWithTag, TestBindingBSON, TestBindingDefault, TestBindingDefaultMsgPack, and 205 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free