Skip to content

Commit

Permalink
Fix context import
Browse files Browse the repository at this point in the history
  • Loading branch information
mxpv committed Dec 31, 2021
1 parent f337f6c commit 26f4b2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ require (
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.0
github.com/zackradisic/soundcloud-api v0.1.5
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4
golang.org/x/oauth2 v0.0.0-20180620175406-ef147856a6dd
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
google.golang.org/api v0.0.0-20180718221112-efcb5f25ac56
Expand Down
4 changes: 2 additions & 2 deletions pkg/builder/soundcloud.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package builder

import (
"context"
"strconv"
"time"

"github.com/pkg/errors"
soundcloudapi "github.com/zackradisic/soundcloud-api"
"golang.org/x/net/context"

"github.com/mxpv/podsync/pkg/config"
"github.com/mxpv/podsync/pkg/model"
Expand All @@ -16,7 +16,7 @@ type SoundCloudBuilder struct {
client *soundcloudapi.API
}

func (s *SoundCloudBuilder) Build(ctx context.Context, cfg *config.Feed) (*model.Feed, error) {
func (s *SoundCloudBuilder) Build(_ctx context.Context, cfg *config.Feed) (*model.Feed, error) {
info, err := ParseURL(cfg.URL)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion pkg/builder/vimeo.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package builder

import (
"context"
"net/http"
"strconv"
"time"

"github.com/pkg/errors"
"github.com/silentsokolov/go-vimeo/vimeo"
"golang.org/x/net/context"
"golang.org/x/oauth2"

"github.com/mxpv/podsync/pkg/config"
Expand Down

0 comments on commit 26f4b2a

Please sign in to comment.