Skip to content

Commit

Permalink
Update init
Browse files Browse the repository at this point in the history
  • Loading branch information
shenghui0779 committed Nov 24, 2023
1 parent 498b445 commit 746e39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func WithWebsocket(upgrader *websocket.Upgrader) InitOption {
// Init yiigo初始化
func Init(options ...InitOption) {
for _, f := range options {
go f()
f()
}

logger.Info("yiigo init complete!")
Expand Down

0 comments on commit 746e39a

Please sign in to comment.