Skip to content

Commit c652c49

Browse files
committed
feat: 移除config
1 parent 120fbc4 commit c652c49

File tree

9 files changed

+44
-412
lines changed

9 files changed

+44
-412
lines changed

aliyun/client.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
package aliyun
22

33
import (
4-
54
"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
6-
"github.com/WingGao/go-utils"
5+
"wingao.net/webproj/core"
76
)
87

98
var (
109
DefaultClient *sdk.Client
1110
)
1211

13-
func Init(cnf utils.MConfig) error {
12+
func Init(cnf core.MConfig) error {
1413
client, err := sdk.NewClientWithAccessKey(cnf.Aliyun.RegionId, cnf.Aliyun.Key, cnf.Aliyun.Secret)
1514
if err != nil {
1615
return err

config.go

Lines changed: 0 additions & 375 deletions
This file was deleted.

0 commit comments

Comments
 (0)