mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-13 01:20:35 +02:00
14 lines
208 B
Go
14 lines
208 B
Go
![]() |
package templates
|
||
|
|
||
|
import (
|
||
|
"github.com/MontFerret/ferret/pkg/drivers"
|
||
|
)
|
||
|
|
||
|
func WaitEventToEqOperator(when drivers.WaitEvent) string {
|
||
|
if when == drivers.WaitEventPresence {
|
||
|
return "=="
|
||
|
}
|
||
|
|
||
|
return "!="
|
||
|
}
|