MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / getUserForMobTimer

Function getUserForMobTimer

timer.go:139–144  ·  view source on GitHub ↗
(userOverride string)

Source from the content-addressed store, hash-verified

137}
138
139func getUserForMobTimer(userOverride string) string {
140 if userOverride == "" {
141 return gitUserName()
142 }
143 return userOverride
144}
145
146func toMinutes(timerInMinutes string) (error, int) {
147 timeoutInMinutes, err := strconv.Atoi(timerInMinutes)

Callers 2

startTimerFunction · 0.85
startBreakTimerFunction · 0.85

Calls 1

gitUserNameFunction · 0.85

Tested by

no test coverage detected