package view import ( "fmt" "stevenlr.com/timer/model" ) templ TimerView(timer model.Timer) {

Timer "{ timer.Name }"

Back to list

Start time: { timer.StartTime.AsUTCString() }

End time: { timer.EndTime.AsUTCString() }

Total time:

Remaining time:

if !timer.IsFinished() {

Add time

}
}