Skip to content

Commit

Permalink
doc: Fix import url in readme
Browse files Browse the repository at this point in the history
doc: Fix import url in readme 
error : 
```
❯ go install
main.go:10:8: no required module provides package github.com/mirakl/lib-vault/vaultv2; to add it:
        go get github.com/mirakl/lib-vault/vaultv2
❯ go get github.com/mirakl/lib-vault/vaultv2

go: module github.com/mirakl/lib-vault@upgrade found (v1.1.1), but does not contain package github.com/mirakl/lib-vault/vaultv2

```
  • Loading branch information
Bzil authored Jan 22, 2025
1 parent 4632a44 commit 8add4c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ For KV v1:

```go

import "github.com/mirakl/lib-vault/vaultv1"
import "github.com/mirakl/lib-vault/v2/vaultv2"

client, err := vaultv1.CreateClient()
```
For KV v2:

```go

import "github.com/mirakl/lib-vault/vaultv2"
import "github.com/mirakl/lib-vault/v2/vaultv2"

client, err := vaultv2.CreateClient()
```
Expand Down

0 comments on commit 8add4c0

Please sign in to comment.