Skip to content

Commit

Permalink
Update v1.0.1 (#2)
Browse files Browse the repository at this point in the history
### Fixes

- Fix go module structure

*Bump version to 1.0.1*
  • Loading branch information
LucJosin authored Jul 19, 2024
1 parent c0d2387 commit 509b548
Show file tree
Hide file tree
Showing 22 changed files with 9 additions and 9 deletions.
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.

0 comments on commit 509b548

Please sign in to comment.