Skip to content

Commit

Permalink
remove duplicate error definition
Browse files Browse the repository at this point in the history
  • Loading branch information
geektutu committed Oct 2, 2020
1 parent a849af3 commit 22b58fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gee-rpc/day4-http-debug/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ func DialHTTPPath(network, address, path string, opts ...*Options) (*Client, err
if len(opts) > 0 && opts[0] != nil {
opt = opts[0]
}
var err error
conn, err := net.Dial(network, address)
if err != nil {
return nil, err
Expand Down

0 comments on commit 22b58fc

Please sign in to comment.