Skip to content
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 .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: go mod tidy

- name: Testing
run: go test -v ./pkg/...
run: go test -v ./...

- name: Publish to pkg.go.dev
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
run: go mod tidy

- name: Testing
run: go test -v ./pkg/...
run: go test -v ./...
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ go get github.com/HawAPI/go-sdk@latest

## Usage

- [See examples](./examples)
- [See examples](./_examples)

### Init client

Expand All @@ -31,7 +31,7 @@ package main
import (
"fmt"

"github.com/HawAPI/go-sdk"
"github.com/HawAPI/go-sdk/hawapi"
)

func main() {
Expand Down Expand Up @@ -68,7 +68,7 @@ package main
import (
"fmt"

"github.com/HawAPI/go-sdk"
"github.com/HawAPI/go-sdk/hawapi"
)

func main() {
Expand All @@ -85,15 +85,15 @@ func main() {

### Error handling

- Check out the [hawapi.ErrorResponse](./pkg/hawapi/error.go)
- Check out the [hawapi.ErrorResponse](hawapi/error.go)

```go
package main

import (
"fmt"

"github.com/HawAPI/go-sdk"
"github.com/HawAPI/go-sdk/hawapi"
"github.com/google/uuid"
)

Expand Down
2 changes: 1 addition & 1 deletion examples/create.go → _examples/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/HawAPI/go-sdk/pkg/hawapi"
"github.com/HawAPI/go-sdk/hawapi"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/list.go → _examples/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/HawAPI/go-sdk/pkg/hawapi"
"github.com/HawAPI/go-sdk/hawapi"
)

func main() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.