Rename variables & interface
This commit is contained in:
parent
ffe053ffc5
commit
b5259d1a98
15 changed files with 32 additions and 32 deletions
|
|
@ -75,7 +75,7 @@ func (widget *customAPIWidget) Render() template.HTML {
|
|||
func fetchAndParseCustomAPI(req *http.Request, tmpl *template.Template) (template.HTML, error) {
|
||||
emptyBody := template.HTML("")
|
||||
|
||||
resp, err := defaultClient.Do(req)
|
||||
resp, err := defaultHTTPClient.Do(req)
|
||||
if err != nil {
|
||||
return emptyBody, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue