Added clocks tool

This commit is contained in:
Leon Mika 2025-09-26 08:13:29 +10:00
parent 8dc2621f87
commit 7073a2d3f2
23 changed files with 1061 additions and 3 deletions

18
cmds/clocks/models.go Normal file
View file

@ -0,0 +1,18 @@
package main
import (
"syscall/js"
"time"
)
type clock struct {
name string
loc *time.Location
elements htmlElements
}
type htmlElements struct {
locationDiv js.Value
timeDiv js.Value
dateDiv js.Value
}