mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +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 "!="
|
||
|
}
|