const encoding/xml.fOmitEmpty
5 uses
encoding/xml (current package)
marshal.go#L416: if finfo != nil && finfo.flags&fOmitEmpty != 0 && isEmptyValue(val) {
marshal.go#L511: if finfo.flags&fOmitEmpty != 0 && isEmptyValue(fv) {
typeinfo.go#L40: fOmitEmpty
typeinfo.go#L143: finfo.flags |= fOmitEmpty
typeinfo.go#L163: if finfo.flags&fOmitEmpty != 0 && finfo.flags&(fElement|fAttr) == 0 {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |