Skip to content

Commit

Permalink
fix: 修复启动异常,map没有初始化问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaofeige committed May 28, 2021
1 parent 798d2a8 commit f874ab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions robot.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func NewWxWorkRobot(conf RobotConfig) (*Robot, error) {
Engine: gin.Default(),
Debugger: conf.Debugger,
ErrLogger: conf.ErrLogger,
handlers: make(map[string]MsgHandler),
}

return robot, nil
Expand Down

0 comments on commit f874ab7

Please sign in to comment.