chore: fix some function names in comment
Signed-off-by: zhuhaicity <zhuhai@52it.net>
This commit is contained in:
parent
a21efb5613
commit
5da7cabb59
@ -42,7 +42,7 @@ func TestStartMock(t *testing.T) {
|
||||
assert.Equal(t, expectedResp, resp)
|
||||
}
|
||||
|
||||
// TestStartMock_Isolation Test StartMock that
|
||||
// TestStartMockIsolation Test StartMock that
|
||||
// mock only work for this request
|
||||
func TestStartMockIsolation(t *testing.T) {
|
||||
// httplib.defaultSetting.FilterChains = []httplib.FilterChain{mockFilter.FilterChain}
|
||||
|
||||
@ -27,7 +27,7 @@ var (
|
||||
sliceOfStrings = reflect.TypeOf([]string(nil))
|
||||
)
|
||||
|
||||
// ParseForm will parse form values to struct via tag.
|
||||
// parseFormToStruct will parse form values to struct via tag.
|
||||
// Support for anonymous struct.
|
||||
func parseFormToStruct(form url.Values, objT reflect.Type, objV reflect.Value) error {
|
||||
for i := 0; i < objT.NumField(); i++ {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user