Skip to content

Commit 60ff3c1

Browse files
authored
update readme (#2)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
1 parent 47b7205 commit 60ff3c1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A Go client library for the [Incident.io API](https://api-docs.incident.io/).
55
## Installation
66

77
```bash
8-
go get github.com/cpanato/incidentio-go
8+
go get github.com/cpanato/go-incident-io
99
```
1010

1111
## Quick Start
@@ -18,7 +18,7 @@ import (
1818
"fmt"
1919
"log"
2020

21-
incidentio "github.com/cpanato/incidentio-go"
21+
incidentio "github.com/cpanato/go-incident-io"
2222
)
2323

2424
func main() {
@@ -57,12 +57,12 @@ httpClient := &http.Client{
5757
Timeout: 60 * time.Second,
5858
}
5959

60-
client := incidentio.NewClient("your-api-key",
60+
client := incidentio.NewClient("YOUR-API-KEY-HERE",
6161
incidentio.WithHTTPClient(httpClient))
6262

6363
// Use a custom base URL (e.g., for testing)
64-
client := incidentio.NewClient("your-api-key",
65-
incidentio.WithBaseURL("https://api.staging.incident.io/v2"))
64+
client := incidentio.NewClient("YOUR-API-KEY-HERE",
65+
incidentio.WithBaseURL("https://api.staging.incident.io"))
6666
```
6767

6868
## Examples

0 commit comments

Comments
 (0)