Skip to content

Commit

Permalink
doc: Fix import url in readme (#34)
Browse files Browse the repository at this point in the history
* doc: Fix import url in readme

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

```

* Update README.md

Co-authored-by: Pascal Bourdier <[email protected]>

---------

Co-authored-by: Pascal Bourdier <[email protected]>
  • Loading branch information
Bzil and PascalBourdier authored Jan 23, 2025
1 parent 4632a44 commit dec12a5
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/vaultv1"

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 dec12a5

Please sign in to comment.