We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c40f7 commit b607904Copy full SHA for b607904
client.go
@@ -1,18 +1,19 @@
1
package paperswithcode_go
2
3
import (
4
- "github.com/codingpot/paperswithcode-go/internal/transport"
5
"net/http"
6
"regexp"
7
"strings"
8
"time"
+
9
+ "github.com/codingpot/paperswithcode-go/internal/transport"
10
)
11
12
const (
13
BaseURL = "https://paperswithcode.com/api/v1"
14
15
-var whiteSpaceRegexp = regexp.MustCompile("\\s+")
16
+var whiteSpaceRegexp = regexp.MustCompile(`\s+`)
17
18
// ClientOption can be used to swap the default http client or swap the API key
19
type ClientOption func(*Client)
0 commit comments