- t.timer[timerKey] = TimerInfo{timerAddress: time.AfterFunc(expireAfterTime, func(){t.timerFunctionExecutor(strId,nbrId)}),
- timerFunctionAddress: func(){timerFunction(strId,nbrId)}}
+ t.timer[timerKey] = TimerInfo{timerAddress: time.AfterFunc(expireAfterTime, func() { t.timerFunctionExecutor(strId, nbrId) }),
+ timerFunctionAddress: func() { timerFunction(strId, nbrId) }}