@@ -1,6 +1,6 @@
|
||||
language: go
|
||||
go:
|
||||
- 1.8
|
||||
- 1.9
|
||||
before_install:
|
||||
- sudo pip install codecov
|
||||
install:
|
||||
|
||||
24
README.md
24
README.md
@@ -1,17 +1,17 @@
|
||||
go-iap
|
||||
======
|
||||
|
||||

|
||||
[](https://travis-ci.org/dogenzaka/go-iap)
|
||||
[](https://codecov.io/github/dogenzaka/go-iap?branch=master)
|
||||

|
||||
[](https://travis-ci.org/awa/go-iap)
|
||||
[](https://codecov.io/github/awa/go-iap?branch=master)
|
||||
|
||||
go-iap verifies the purchase receipt via AppStore, GooglePlayStore or Amazon AppStore.
|
||||
|
||||
Current API Documents:
|
||||
|
||||
* AppStore: [](https://godoc.org/github.com/dogenzaka/go-iap/appstore)
|
||||
* GooglePlay: [](https://godoc.org/github.com/dogenzaka/go-iap/playstore)
|
||||
* Amazon AppStore: [](https://godoc.org/github.com/dogenzaka/go-iap/amazon)
|
||||
* AppStore: [](https://godoc.org/github.com/awa/go-iap/appstore)
|
||||
* GooglePlay: [](https://godoc.org/github.com/awa/go-iap/playstore)
|
||||
* Amazon AppStore: [](https://godoc.org/github.com/awa/go-iap/amazon)
|
||||
|
||||
|
||||
# Dependencies
|
||||
@@ -23,9 +23,9 @@ go get google.golang.org/api/androidpublisher/v2
|
||||
|
||||
# Installation
|
||||
```
|
||||
go get github.com/dogenzaka/go-iap/appstore
|
||||
go get github.com/dogenzaka/go-iap/playstore
|
||||
go get github.com/dogenzaka/go-iap/amazon
|
||||
go get github.com/awa/go-iap/appstore
|
||||
go get github.com/awa/go-iap/playstore
|
||||
go get github.com/awa/go-iap/amazon
|
||||
```
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ go get github.com/dogenzaka/go-iap/amazon
|
||||
|
||||
```
|
||||
import(
|
||||
"github.com/dogenzaka/go-iap/appstore"
|
||||
"github.com/awa/go-iap/appstore"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -54,7 +54,7 @@ func main() {
|
||||
import(
|
||||
"golang.org/x/oauth2"
|
||||
|
||||
"github.com/dogenzaka/go-iap/playstore"
|
||||
"github.com/awa/go-iap/playstore"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -74,7 +74,7 @@ func main() {
|
||||
|
||||
```
|
||||
import(
|
||||
"github.com/dogenzaka/go-iap/amazon"
|
||||
"github.com/awa/go-iap/amazon"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user