Skip to content

Commit bc1b75e

Browse files
committed
Apply gofumpt
1 parent df4c4b7 commit bc1b75e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fritzbox.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ var (
2323
faultDescription = xmlpath.MustCompile("/Envelope/Body/Fault//errorDescription")
2424
)
2525

26-
// DefaultPort is the default UPNP port
26+
// DefaultPort is the default UPNP port.
2727
const DefaultPort = 49000
2828

29-
// Client is a Fritzbox-Client
29+
// Client is a Fritzbox-Client.
3030
type Client struct {
3131
Endpoint string
3232
Context context.Context // optional context for cancelation of outgoing requests
@@ -63,7 +63,6 @@ func (c *Client) request(rType requestType) (root *xmlpath.Node, err error) {
6363
// Send request
6464
client := &http.Client{Timeout: timeout}
6565
resp, err := client.Do(req)
66-
// Request failed?
6766
if err != nil {
6867
return
6968
}

0 commit comments

Comments
 (0)