func Z(d dns.DNS) { fmt.Printf("Z: ") if d.GetZ() == 0 { fmt.Println("Reserved") } else { fmt.Printf("Should be 0 but is %d \n", d.GetZ()) } }