fixup for unexported fields

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2022-03-02 17:51:29 +03:00
parent 18b95d7dde
commit d280ea260e

View File

@ -92,6 +92,9 @@ func newPathRequest(path string, method string, body string, msg interface{}, ta
continue
}
fld := tmsg.Type().Field(i)
if !fld.IsExported() {
continue
}
t := &tag{}
for _, tn := range tags {