Skip to content

Commit e4a6604

Browse files
author
nukosuke
authored
Merge pull request #303 from JinHuangAtZen/jin.huang/Add-version-to-useragent
Add version number to User Agent
2 parents 6f60a64 + eeacecd commit e4a6604

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,15 @@ func main() {
5050

5151
## Want to mock API?
5252

53-
go-zendesk has a [mock package](https://pkg.go.dev/github.com/nukosuke/go-zendesk/zendesk/mock) generated by [golang/mock](https://github.com/golang/mock).
53+
go-zendesk has a [mock package](https://pkg.go.dev/github.com/nukosuke/go-zendesk/zendesk/mock) generated by [uber-go/mock](https://github.com/uber-go/mock).
5454
You can simulate the response from Zendesk API with it.
5555

5656
## To regenerate the mock client
5757

5858
`go generate ./...`
5959

60-
## Zendesk [OBP(Offset Based Pagination) to CBP(Cursor Based Pagination) migration guide](CBPMigration.md)
60+
## Zendesk OBP(Offset Based Pagination) to CBP(Cursor Based Pagination) migration guide
61+
[CBPMigration](CBPMigration.md)
6162

6263
## Maintainer
6364

zendesk/zendesk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const (
1818
)
1919

2020
var defaultHeaders = map[string]string{
21-
"User-Agent": "nukosuke/go-zendesk",
21+
"User-Agent": "nukosuke/go-zendesk/0.18.0",
2222
"Content-Type": "application/json",
2323
}
2424

0 commit comments

Comments
 (0)