Skip to content

Commit

Permalink
chore: update README example
Browse files Browse the repository at this point in the history
  • Loading branch information
Leaseweb CI committed Dec 18, 2024
1 parent e8c4e90 commit 0aa278b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Leaseweb Go SDK
Leaseweb Go SDK provides a golang client for Leaseweb's REST API.

### Installation
## Installation
```bash
go get github.com/LeaseWeb/leaseweb-go-sdk/v2
go get github.com/LeaseWeb/leaseweb-go-sdk/v3
```

### Generate your API Key
## Generate your API Key
You can generate your API key at the [Customer Portal](https://secure.leaseweb.com/).

### Example
## Example
```golang
package main

Expand All @@ -18,7 +18,7 @@ import (
"fmt"
"os"

openapiclient "github.com/leaseweb/leaseweb-go-sdk/v2/publiccloud"
openapiclient "github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
)

func main() {
Expand Down Expand Up @@ -58,10 +58,10 @@ The Leaseweb Go SDK documentation based on product:
- [Invoice](invoice/README.md)
- [DNS](dns/README.md)

### Issues
## Issues
If you encounter an issue with the project, you are welcome to submit an [issue](https://github.com/Leaseweb/leaseweb-go-sdk/issues).

### Pull requests
## Pull requests
We ask that an issue is always opened prior to a PR to give us the opportunity to discuss the best place for the change before investing your effort on a patch that we may not be able to accept.

The code in the repository is generated from the OpenAPI specification. This means PRs to code, tests and sometimes even markdown are often inappropriate, and we may need to make changes to the specification instead.
Expand Down

0 comments on commit 0aa278b

Please sign in to comment.