fix: go module name
This commit is contained in:
parent
8b10b88d58
commit
f5f8c11c4a
@ -22,7 +22,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:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import openapi "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0.0.8"
|
import openapi "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
|
||||||
```
|
```
|
||||||
|
|
||||||
To use a proxy, set the environment variable `HTTP_PROXY`:
|
To use a proxy, set the environment variable `HTTP_PROXY`:
|
||||||
|
@ -27,7 +27,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0.0.8"
|
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -97,7 +97,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0.0.8"
|
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -168,7 +168,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0.0.8"
|
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -25,7 +25,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0.0.8"
|
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module git.dragse.it/anthrove/orchestrator-swagger-go-client/v0.0.8
|
module git.dragse.it/anthrove/orchestrator-swagger-go-client/v0
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ package openapi
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0.0.8"
|
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"testing"
|
"testing"
|
||||||
|
@ -11,7 +11,7 @@ package openapi
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0.0.8"
|
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"testing"
|
"testing"
|
||||||
|
Reference in New Issue
Block a user