Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isHTTPFuncOrMethodOnClient (0.27 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go

    		}
    		return true
    	})
    	return nil, nil
    }
    
    // isHTTPFuncOrMethodOnClient checks whether the given call expression is on
    // either a function of the net/http package or a method of http.Client that
    // returns (*http.Response, error).
    func isHTTPFuncOrMethodOnClient(info *types.Info, expr *ast.CallExpr) bool {
    	fun, _ := expr.Fun.(*ast.SelectorExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top