Skip to content

Commit 1b2a977

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

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

native/README.md

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

66
## Golang Native 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/native)
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/native)
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/native
3131
```
3232

33-
Then add `github.com/apitoolkit/apitoolkit-go/native` to the list of dependencies like so:
33+
Then add `github.com/apitoolkit/apitoolkit-go/native` to the list of dependencies, like so:
34+
35+
```go
36+
package main
37+
38+
import (
39+
apitoolkit "github.com/apitoolkit/apitoolkit-go/native"
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
@@ -76,7 +88,7 @@ To contribute to the development of this SDK or request help from the community
7688

7789
## License
7890

79-
This repository is published under the [MIT](LICENSE) license.
91+
This repository is published under the [MIT](../LICENSE) license.
8092

8193
---
8294

0 commit comments

Comments
 (0)