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 5163ae4 commit 7d43139Copy full SHA for 7d43139
config/config.go
@@ -1,19 +1,19 @@
1
package config
2
3
type Config struct {
4
- CN SiteConfig
5
- EN SiteConfig
+ CN Site
+ EN Site
6
Level LevelMap
7
Language []Language
8
Naming NamingMap
9
QuestionDataQL func(titleSlug string) GraphQLRequest
10
}
11
12
var DefaultConfig = Config{
13
- CN: SiteConfig{
+ CN: Site{
14
Domain: "https://leetcode-cn.com",
15
},
16
- EN: SiteConfig{
+ EN: Site{
17
Domain: "https://leetcode.com",
18
19
Level: LevelMap{
config/type.go
@@ -1,6 +1,6 @@
-type SiteConfig struct {
+type Site struct {
Domain string
0 commit comments