Skip to content

Commit

Permalink
更新readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf committed Nov 13, 2024
1 parent fcef5d6 commit 1dabe25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ width="800" height="3">

**赞助商**

[![](https://raw.githubusercontent.com/eryajf/tu/main/img/image_20240730_083723.webp)](https://302.ai/)
[![](https://raw.githubusercontent.com/eryajf/tu/main/img/image_20241113_230334.webp)](https://302.ai/)

> [302.AI](https://302.ai) 是一个汇集全球顶级品牌的 AI 超市,按需付费,零月费,零门槛使用各种类型 AI。
>
Expand Down
7 changes: 4 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ type Configuration struct {
Credentials []Credential `yaml:"credentials"`
}

var config *Configuration
var once sync.Once
var (
config *Configuration
once sync.Once
)

// LoadConfig 加载配置
func LoadConfig() *Configuration {
Expand Down Expand Up @@ -237,7 +239,6 @@ func LoadConfig() *Configuration {
}
}
}

})

// 一些默认值
Expand Down

0 comments on commit 1dabe25

Please sign in to comment.