Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modulize #13

Merged
merged 2 commits into from
Mar 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

var (
Expand Down
9 changes: 9 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module github.com/17media/go-lokalise-api

go 1.13

require (
github.com/go-resty/resty/v2 v2.1.0
github.com/google/go-querystring v1.0.0
golang.org/x/net v0.0.0-20200202094626-16171245cfb2 // indirect
)
10 changes: 10 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
github.com/go-resty/resty/v2 v2.1.0 h1:Z6IefCpUMfnvItVJaJXWv/pMiiD11So35QgwEELsldE=
github.com/go-resty/resty/v2 v2.1.0/go.mod h1:dZGr0i9PLlaaTD4H/hoZIDjQ+r6xq8mgbRzHZf7f2J8=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI=
golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
2 changes: 1 addition & 1 deletion pagination.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strconv"

"github.com/google/go-querystring/query"
"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

type PageCounter interface {
Expand Down
2 changes: 1 addition & 1 deletion svc_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/google/go-querystring/query"
"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion svc_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/google/go-querystring/query"
"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion svc_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/google/go-querystring/query"
"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion svc_screenshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/google/go-querystring/query"
"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion svc_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/google/go-querystring/query"
"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

type TaskService struct {
Expand Down
2 changes: 1 addition & 1 deletion svc_translation.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/google/go-querystring/query"
"gopkg.in/go-resty/resty.v2"
"github.com/go-resty/resty/v2"
)

const (
Expand Down
27 changes: 0 additions & 27 deletions vendor/vendor.json

This file was deleted.