Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for put$index (0.14 sec)

  1. src/net/http/request.go

    func (r *Request) PathValue(name string) string {
    	if i := r.patIndex(name); i >= 0 {
    		return r.matches[i]
    	}
    	return r.otherValues[name]
    }
    
    // SetPathValue sets name to value, so that subsequent calls to r.PathValue(name)
    // return value.
    func (r *Request) SetPathValue(name, value string) {
    	if i := r.patIndex(name); i >= 0 {
    		r.matches[i] = value
    	} else {
    		if r.otherValues == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top