mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Remove some unnecessary type conversions (#841)
* Remove some unnecessary type conversions Signed-off-by: Chris Cummer <chriscummer@me.com> * Tidy'd go.mod Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
@@ -74,7 +74,7 @@ func (widget *Widget) updateData() {
|
||||
}()
|
||||
|
||||
client := &http.Client{
|
||||
Timeout: time.Duration(5 * time.Second),
|
||||
Timeout: 5 * time.Second,
|
||||
}
|
||||
|
||||
for _, fromCurrency := range widget.list.items {
|
||||
|
||||
Reference in New Issue
Block a user