Skip to content

Commit

Permalink
add mocks for appstore
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabrina committed Jan 31, 2020
1 parent 98cf7b0 commit e54455a
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
49 changes: 49 additions & 0 deletions appstore/mocks/mock_appstore.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions appstore/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import (
"time"
)

//go:generate mockgen -destination=mocks/mock_appstore.go -package=mocks github.com/awa/go-iap/appstore IAPClient

const (
// SandboxURL is the endpoint for sandbox environment.
SandboxURL string = "https://sandbox.itunes.apple.com/verifyReceipt"
Expand Down

0 comments on commit e54455a

Please sign in to comment.