Skip to content

Commit

Permalink
Merge pull request #3 from kamilwoloszyn/dev
Browse files Browse the repository at this point in the history
merge dev to main
  • Loading branch information
kamilwoloszyn authored Jul 21, 2023
2 parents a8ad469 + 5a8351d commit 4ea1df7
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 18 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ A golang client for burze.dzis.net
# Quick start

```
go get -u github.com/kamilwoloszyn/burze-dzis
go get -u github.com/kamilwoloszyn/go-burze-dzis
```

Then, you can start using the client:

```
import(
"fmt"
burzedzis "github.com/kamilwoloszyn/go-burze-dzis"
)
func main() {
config := config.NewConfig(
"<YOUR_API_KEY>",
Expand Down
8 changes: 4 additions & 4 deletions adapter/burzedzisnet/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"io"
"net/http"

"github.com/kamilwoloszyn/burze-dzis/app"
"github.com/kamilwoloszyn/burze-dzis/app/requestmod"
"github.com/kamilwoloszyn/burze-dzis/domain"
"github.com/kamilwoloszyn/burze-dzis/domain/vxml"
"github.com/kamilwoloszyn/go-burze-dzis/app"
"github.com/kamilwoloszyn/go-burze-dzis/app/requestmod"
"github.com/kamilwoloszyn/go-burze-dzis/domain"
"github.com/kamilwoloszyn/go-burze-dzis/domain/vxml"
)

const (
Expand Down
10 changes: 5 additions & 5 deletions adapter/burzedzisnet/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"strings"
"testing"

"github.com/kamilwoloszyn/burze-dzis/adapter/burzedzisnet"
"github.com/kamilwoloszyn/burze-dzis/app"
"github.com/kamilwoloszyn/burze-dzis/domain"
"github.com/kamilwoloszyn/burze-dzis/generics"
"github.com/kamilwoloszyn/burze-dzis/mock"
"github.com/kamilwoloszyn/go-burze-dzis/adapter/burzedzisnet"
"github.com/kamilwoloszyn/go-burze-dzis/app"
"github.com/kamilwoloszyn/go-burze-dzis/domain"
"github.com/kamilwoloszyn/go-burze-dzis/generics"
"github.com/kamilwoloszyn/go-burze-dzis/mock"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion app/burzedzis.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package app
import (
"context"

"github.com/kamilwoloszyn/burze-dzis/domain"
"github.com/kamilwoloszyn/go-burze-dzis/domain"
)

type BurzeDzisService interface {
Expand Down
2 changes: 1 addition & 1 deletion app/searchdata.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package app

import "github.com/kamilwoloszyn/burze-dzis/domain"
import "github.com/kamilwoloszyn/go-burze-dzis/domain"

// SearchData is internal representation of data, can be modified by layers.
type SearchData struct {
Expand Down
2 changes: 1 addition & 1 deletion app/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"reflect"

"github.com/kamilwoloszyn/burze-dzis/domain"
"github.com/kamilwoloszyn/go-burze-dzis/domain"
)

// Service contains all components necessary to run app properly.
Expand Down
2 changes: 1 addition & 1 deletion domain/vxml/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package vxml
import (
"strings"

"github.com/kamilwoloszyn/burze-dzis/domain"
"github.com/kamilwoloszyn/go-burze-dzis/domain"
)

const CitiesResponseSeparator = ","
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/kamilwoloszyn/burze-dzis
module github.com/kamilwoloszyn/go-burze-dzis

go 1.18
6 changes: 3 additions & 3 deletions lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package burzedzis
import (
"context"

"github.com/kamilwoloszyn/burze-dzis/adapter/burzedzisnet"
"github.com/kamilwoloszyn/burze-dzis/app"
"github.com/kamilwoloszyn/burze-dzis/domain"
"github.com/kamilwoloszyn/go-burze-dzis/adapter/burzedzisnet"
"github.com/kamilwoloszyn/go-burze-dzis/app"
"github.com/kamilwoloszyn/go-burze-dzis/domain"
)

// Service contains all components necessary to run app properly.
Expand Down

0 comments on commit 4ea1df7

Please sign in to comment.