Fix some golangci-lint warnings
Minor changes
This commit is contained in:
parent
d0f72d53e4
commit
a34a14d25a
4 changed files with 20 additions and 17 deletions
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
const trendsURL = "https://twitter.com/i/trends"
|
||||
|
||||
// GetTrends return list of trends
|
||||
// GetTrends return list of trends.
|
||||
func GetTrends() ([]string, error) {
|
||||
req, err := http.NewRequest("GET", trendsURL, nil)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue