refactor: ui refactor step 2
This commit is contained in:
parent
9cae00d2a5
commit
24430d0fae
9 changed files with 167 additions and 121 deletions
|
|
@ -1,10 +0,0 @@
|
|||
package utils
|
||||
|
||||
import "fmt"
|
||||
|
||||
// Hilfsfunktion (kann in einer utils.go Datei platziert werden)
|
||||
func formatDuration(totalSeconds int64) string {
|
||||
mins := totalSeconds / 60
|
||||
secs := totalSeconds % 60
|
||||
return fmt.Sprintf("%02d:%02d", mins, secs)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue