fix(version): added /v1 #2

Merged
SoXX merged 1 commits from release/v1.0.0 into main 2024-09-01 16:53:36 +00:00
5 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ go get golang.org/x/net/context
Put the package under your project folder and add the following in import: Put the package under your project folder and add the following in import:
```golang ```golang
import openapi "git.anthrove.art/Anthrove/orchestrator-swagger-go-client" import openapi "git.anthrove.art/Anthrove/orchestrator-swagger-go-client/v1"
``` ```
To use a proxy, set the environment variable `HTTP_PROXY`: To use a proxy, set the environment variable `HTTP_PROXY`:

View File

@ -27,7 +27,7 @@ import (
"context" "context"
"fmt" "fmt"
"os" "os"
openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client" openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client/v1"
) )
func main() { func main() {
@ -97,7 +97,7 @@ import (
"context" "context"
"fmt" "fmt"
"os" "os"
openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client" openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client/v1"
) )
func main() { func main() {
@ -168,7 +168,7 @@ import (
"context" "context"
"fmt" "fmt"
"os" "os"
openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client" openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client/v1"
) )
func main() { func main() {

2
go.mod
View File

@ -1,4 +1,4 @@
module git.anthrove.art/Anthrove/orchestrator-swagger-go-client module git.anthrove.art/Anthrove/orchestrator-swagger-go-client/v1
go 1.13 go 1.13

View File

@ -11,7 +11,7 @@ package openapi
import ( import (
"context" "context"
openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client" openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client/v1"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"

View File

@ -11,7 +11,7 @@ package openapi
import ( import (
"context" "context"
openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client" openapiclient "git.anthrove.art/Anthrove/orchestrator-swagger-go-client/v1"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"testing" "testing"