Skip to content

Commit 29e12ae

Browse files
Update README.md
1 parent ae3faf0 commit 29e12ae

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

gorilla/README.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Golang Gorilla Mux SDK
77

8-
[![APItoolkit SDK](https://img.shields.io/badge/APItoolkit-SDK-0068ff?logo=go)](https://github.com/topics/apitoolkit-sdk) [![Join Discord Server](https://img.shields.io/badge/Chat-Discord-7289da)](https://apitoolkit.io/discord?utm_campaign=devrel&utm_medium=github&utm_source=sdks_readme) [![APItoolkit Docs](https://img.shields.io/badge/Read-Docs-0068ff)](https://apitoolkit.io/docs/sdks/golang?utm_campaign=devrel&utm_medium=github&utm_source=sdks_readme) [![GoDoc](https://godoc.org/github.com/apitoolkit/apitoolkit-go?status.svg)](https://godoc.org/github.com/apitoolkit/apitoolkit-go/main/tree/gorilla)
8+
[![APItoolkit SDK](https://img.shields.io/badge/APItoolkit-SDK-0068ff?logo=go)](https://github.com/topics/apitoolkit-sdk) [![Join Discord Server](https://img.shields.io/badge/Chat-Discord-7289da)](https://apitoolkit.io/discord?utm_campaign=devrel&utm_medium=github&utm_source=sdks_readme) [![APItoolkit Docs](https://img.shields.io/badge/Read-Docs-0068ff)](https://apitoolkit.io/docs/sdks/golang?utm_campaign=devrel&utm_medium=github&utm_source=sdks_readme) [![GoDoc](https://godoc.org/github.com/apitoolkit/apitoolkit-go?status.svg)](https://godoc.org/github.com/apitoolkit/apitoolkit-go/gorilla)
99

1010
APItoolkit is an end-to-end API and web services management toolkit for engineers and customer support teams. To integrate your Golang application with APItoolkit, you need to use this SDK to monitor incoming traffic, aggregate the requests, and then deliver them to the APItoolkit's servers.
1111

@@ -30,7 +30,19 @@ Kindly run the command below to install the SDK:
3030
go get github.com/apitoolkit/apitoolkit-go/gorilla
3131
```
3232

33-
Then add `github.com/apitoolkit/apitoolkit-go/gorilla` to the list of dependencies like so:
33+
Then add `github.com/apitoolkit/apitoolkit-go/gorilla` to the list of dependencies, like so:
34+
35+
```go
36+
package main
37+
38+
import (
39+
apitoolkit "github.com/apitoolkit/apitoolkit-go/gorilla"
40+
)
41+
```
42+
43+
## Configuration
44+
45+
Next, initialize APItoolkit in your application's entry point (e.g., `main.go`) like so:
3446

3547
```go
3648
package main
@@ -84,7 +96,7 @@ To contribute to the development of this SDK or request help from the community
8496

8597
## License
8698

87-
This repository is published under the [MIT](LICENSE) license.
99+
This repository is published under the [MIT](../LICENSE) license.
88100

89101
---
90102

0 commit comments

Comments
 (0)