From d2047e2dd2d660cc729f8811faf9602a7e5d2777 Mon Sep 17 00:00:00 2001 From: Boris Ershov Date: Fri, 1 Jul 2022 01:06:16 +0700 Subject: [PATCH] Fixed README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c444472..48eb382 100644 --- a/README.md +++ b/README.md @@ -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 @@ -35,7 +35,7 @@ import ( "fmt" "os" - "github.com/nixys/nxs-go-redmine/v3" + "github.com/nixys/nxs-go-redmine/v4" ) func main() { @@ -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 {