clock

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock struct {
	godom.Island
	*counter.State // shared with Counter — displays Count/Step alongside time
	Time           string
	HourHand       string
	MinuteHand     string
	SecondHand     string
}

func New

func New(s *counter.State) *Clock

New takes the shared counter state for display. Pass nil if not sharing.

func (*Clock) Run

func (c *Clock) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL