INNER CODE UNIT · Go

func

kubernetes-csi/csi-driver-nfs · release-tools/filter-junit.go:67

func (s *SkipReason) UnmarshalText(text []byte) error {
	*s = SkipReason(text)
	if *s == "" {
		*s = " "
	}
	return nil
}

func (s SkipReason) MarshalText() ([]byte, error) {
	if s == " " {
		return []byte{}, nil
	}
	return []byte(s), nil
}

func main() {
	var junit TestSuite
	var data []byte

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…