1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Code cleanup

This commit is contained in:
Maksym Pavlenko
2017-11-02 18:19:21 -07:00
parent 3c43f84cc0
commit aaa96f0f04
2 changed files with 5 additions and 9 deletions

View File

@@ -28,11 +28,8 @@ type feedService interface {
GetMetadata(hashId string) (*api.Feed, error)
}
// HACK: mockgen fails to import patreon.Pledge type
type P *patreon.Pledge
type patreonService interface {
Hook(pledge P, event string) error
Hook(pledge *patreon.Pledge, event string) error
GetFeatureLevel(patronID string) int
}