🚧 More of fingerprinting

This commit is contained in:
Dan Jones 2023-09-24 22:34:30 -05:00
commit c87dc5e04f
3 changed files with 89 additions and 6 deletions

View file

@ -29,3 +29,10 @@ func HourMinSecToSeconds(time string) (float64, error) {
dur, _ := t.ParseDuration(f)
return dur.Seconds(), nil
}
func Tern[V any](choice bool, one, two V) V {
if choice {
return one
}
return two
}