Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nodeU (0.17 sec)

  1. cmd/batch-job-common-types.go

    }
    
    var _ yaml.Unmarshaler = &BatchJobKV{}
    
    // UnmarshalYAML - BatchJobKV extends default unmarshal to extract line, col information.
    func (kv *BatchJobKV) UnmarshalYAML(val *yaml.Node) error {
    	type jobKV BatchJobKV
    	var tmp jobKV
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    	*kv = BatchJobKV(tmp)
    	kv.line, kv.col = val.Line, val.Column
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top