Skip to content

Commit 4672911

Browse files
committed
chore: Prettier
1 parent 669236a commit 4672911

6 files changed

+69
-198
lines changed

Diff for: README.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# paperswithcode-go
2-
3-
[![Go](https://github.com/codingpot/paperswithcode-go/actions/workflows/go.yaml/badge.svg)](https://github.com/codingpot/paperswithcode-go/actions/workflows/go.yaml)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/codingpot/paperswithcode-go)](https://goreportcard.com/report/github.com/codingpot/paperswithcode-go)
5-
[![Go Reference](https://pkg.go.dev/badge/github.com/codingpot/paperswithcode-go/v2.svg)](https://pkg.go.dev/github.com/codingpot/paperswithcode-go/v2)
6-
[![codecov](https://codecov.io/gh/codingpot/paperswithcode-go/branch/main/graph/badge.svg?token=MhzDKZOtWK)](https://codecov.io/gh/codingpot/paperswithcode-go)
7-
8-
This is a client for PapersWithCode read/write API.
9-
10-
For Python version, see https://github.com/paperswithcode/paperswithcode-client
11-
12-
## Quick usage example
13-
14-
```go
15-
import "github.com/codingpot/paperswithcode-go/v2"
16-
```
17-
18-
```go
19-
c := paperswithcode_go.NewClient()
20-
papers, _ := c.PaperList(paperswithcode_go.PaperListParamsDefault())
21-
gan, _ := c.PaperGet(paperswithcode_go.GetPaperIDFromPaperTitle("Generative Adversarial Networks"))
22-
```
1+
# paperswithcode-go
2+
3+
[![Go](https://github.com/codingpot/paperswithcode-go/actions/workflows/go.yaml/badge.svg)](https://github.com/codingpot/paperswithcode-go/actions/workflows/go.yaml)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/codingpot/paperswithcode-go)](https://goreportcard.com/report/github.com/codingpot/paperswithcode-go)
5+
[![Go Reference](https://pkg.go.dev/badge/github.com/codingpot/paperswithcode-go/v2.svg)](https://pkg.go.dev/github.com/codingpot/paperswithcode-go/v2)
6+
[![codecov](https://codecov.io/gh/codingpot/paperswithcode-go/branch/main/graph/badge.svg?token=MhzDKZOtWK)](https://codecov.io/gh/codingpot/paperswithcode-go)
7+
8+
This is a client for PapersWithCode read/write API.
9+
10+
For Python version, see https://github.com/paperswithcode/paperswithcode-client
11+
12+
## Quick usage example
13+
14+
```go
15+
import "github.com/codingpot/paperswithcode-go/v2"
16+
```
17+
18+
```go
19+
c := paperswithcode_go.NewClient()
20+
papers, _ := c.PaperList(paperswithcode_go.PaperListParamsDefault())
21+
gan, _ := c.PaperGet(paperswithcode_go.GetPaperIDFromPaperTitle("Generative Adversarial Networks"))
22+
```

Diff for: dummy/paper_get_response.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
"conference_url_abs": null,
2222
"conference_url_pdf": null,
2323
"proceeding": "proceedings-of-the-27th-international"
24-
}
24+
}

0 commit comments

Comments
 (0)