mirror of
https://github.com/Luzifer/go-openssl.git
synced 2024-12-20 19:01:18 +00:00
Update documentation to use modules format
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
fe4ccb6897
commit
46d355c674
1 changed files with 3 additions and 6 deletions
|
@ -28,10 +28,7 @@ Starting with `v4.0.0` `go-openssl` is capable of using the PBKDF2 key derivatio
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Get the latest version
|
# Get the latest version
|
||||||
go get github.com/Luzifer/go-openssl
|
go get github.com/Luzifer/go-openssl/v4
|
||||||
|
|
||||||
# OR get a specific version
|
|
||||||
go get gopkg.in/Luzifer/go-openssl.v4
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage example
|
## Usage example
|
||||||
|
@ -43,7 +40,7 @@ The usage is quite simple as you don't need any special knowledge about OpenSSL
|
||||||
```go
|
```go
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
openssl "gopkg.in/Luzifer/go-openssl.v4"
|
openssl "github.com/Luzifer/go-openssl/v4"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -66,7 +63,7 @@ func main() {
|
||||||
```go
|
```go
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
openssl "gopkg.in/Luzifer/go-openssl.v4"
|
openssl "github.com/Luzifer/go-openssl/v4"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in a new issue