closes #44
All checks were successful
Tests / Run Go Tests (push) Successful in 1m43s

This commit is contained in:
2025-10-01 22:53:27 +02:00
parent 7e27c944f3
commit 3dd4b134c8
9 changed files with 110 additions and 44 deletions

View File

@@ -3,7 +3,23 @@ package helper
import "time"
type TimeFormValue struct {
TsFrom time.Time
TsTo time.Time
TsFrom time.Time
TsTo time.Time
CardUID string
}
func BoolToInt(b bool) int {
var i int = 0
if b {
i = 1
}
return i
}
func BoolToInt8(b bool) int8 {
var i int8 = 0
if b {
i = 1
}
return i
}