Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Column (0.13 sec)

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

    // UnmarshalYAML - BatchJobNotification extends unmarshal to extract line, column information
    func (b *BatchJobNotification) UnmarshalYAML(val *yaml.Node) error {
    	type notification BatchJobNotification
    	var tmp notification
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*b = BatchJobNotification(tmp)
    	b.line, b.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