fixup for unexported fields #54

Merged
vtolstov merged 1 commits from isExported into master 2022-03-02 17:51:49 +03:00
Showing only changes of commit d280ea260e - Show all commits

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 {