code: func (a *NetAddr) UnmarshalYAML(unmarshal func(interface{}) error) error {
  	var addr string
  	err := unmarshal(&addr)
  	if err != nil {
  		return err
  	}
  
  	parsedAddr, err := ParseAddr(addr)
  	if err != nil {
  		return err
  	}
  
  	*a = *parsedAddr
  	return nil
  }
docs: // UnmarshalYAML defines how a string can be unmarshalled into a network address