Skip to content

Commit

Permalink
Fixed README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
borisershov committed Jun 30, 2022
1 parent bd43c7c commit d2047e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Follows Redmine resources are fully implemented at this moment:
## Install

```
go get github.com/nixys/nxs-go-redmine/v3
go get github.com/nixys/nxs-go-redmine/v4
```

## Example of usage
Expand All @@ -35,7 +35,7 @@ import (
"fmt"
"os"

"github.com/nixys/nxs-go-redmine/v3"
"github.com/nixys/nxs-go-redmine/v4"
)

func main() {
Expand All @@ -57,10 +57,10 @@ func main() {
fmt.Println("Init: success")

// Get all projects
p, _, err := r.ProjectAllGet(ProjectAllGetRequest{
p, _, err := r.ProjectAllGet(redmine.ProjectAllGetRequest{
Includes: []string{"trackers", "issue_categories", "enabled_modules"},
Filters: ProjectGetRequestFilters{
Status: ProjectStatusActive,
Filters: redmine.ProjectGetRequestFilters{
Status: redmine.ProjectStatusActive,
},
})
if err != nil {
Expand Down

0 comments on commit d2047e2

Please sign in to comment.