fix: go module name

This commit is contained in:
SoXX 2024-07-15 10:24:50 +02:00
parent f5f8c11c4a
commit 2747b384b8
6 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

@ -25,7 +25,7 @@ import (
"context"
"fmt"
"os"
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client"
)
func main() {

2
go.mod
View File

@ -1,4 +1,4 @@
module git.dragse.it/anthrove/orchestrator-swagger-go-client/v0
module git.dragse.it/anthrove/orchestrator-swagger-go-client
go 1.18

View File

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

View File

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