func (cf *CanFile) loadDefault() error {
	*cf = make([]CanLine, len(defaultCanLines))
	for i, cl := range defaultCanLines {
		(*cf)[i] = CanLine{}
		if err := (&((*cf)[i])).Unmarshal(cl); err != nil {
			return errors.Wrapf(err, "Unable to read default can line %q (index %d)", cl, i)
		}
	}
	return nil
}
// loadDefault loads the default lines into this CanFile
loadDefault loads the default lines into this CanFile
// loadDefault loads the default lines into this CanFile
func (cf *CanFile) loadDefault() error {
	*cf = make([]CanLine, len(defaultCanLines))
	for i, cl := range defaultCanLines {
		(*cf)[i] = CanLine{}
		if err := (&((*cf)[i])).Unmarshal(cl); err != nil {
			return errors.Wrapf(err, "Unable to read default can line %q (index %d)", cl, i)
		}
	}
	return nil
}
func ( cf * CanFile ) loadDefault ( ) error { * cf = make ( [ ] CanLine , len ( defaultCanLines ) ) for i , cl := range defaultCanLines { ( * cf ) [ i ] = CanLine { } if err := ( & ( ( * cf ) [ i ] ) ) . Unmarshal ( cl ) ; err != nil { return errors . Wrapf ( err , " " , cl , i ) } } return nil }
loadDefault loads the default lines into this CanFile
loadDefault loads the default lines into this CanFile