Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WriteOnClose (0.21 sec)

  1. internal/ioutil/ioutil.go

    	}
    	return nil
    }
    
    // HasWritten returns true if at least one write operation was performed.
    func (w *WriteOnCloser) HasWritten() bool { return w.hasWritten }
    
    // WriteOnClose takes an io.Writer and returns an ioutil.WriteOnCloser.
    func WriteOnClose(w io.Writer) *WriteOnCloser {
    	return &WriteOnCloser{w, false}
    }
    
    type ioret[V any] struct {
    	val V
    	err error
    }
    
    // DeadlineWriter deadline writer with timeout
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top