Fix type of lte_ext_ant/lte_poe fields (#89)

This commit is contained in:
jeanluc
2022-08-10 01:34:05 +00:00
committed by GitHub
parent dd7be9a4f1
commit 1ac863de1f
3 changed files with 35 additions and 7 deletions

View File

@@ -339,6 +339,8 @@ func main() {
if f.FieldType == "string" {
f.CustomUnmarshalType = "numberOrString"
}
case "LteExtAnt", "LtePoe":
f.CustomUnmarshalType = "booleanishString"
}
f.OmitEmpty = true