day20, example 2 first four steps pass

This commit is contained in:
efim
2023-12-20 09:45:52 +00:00
parent 1d7a0ef7b8
commit 00e60657fa
3 changed files with 131 additions and 0 deletions

View File

@@ -9,6 +9,10 @@ import (
)
type PulseType int
func (pt PulseType)String() string {
types := []string{"high", "low"}
return types[pt]
}
const (
HighPulse PulseType = iota