Files
hatchet/internal/cel/common.go
abelanger5 a1a10b4073 feat: dynamic rate limits (#904)
* wip: step run expressions on rate limits

* feat: dynamic rate limits

* chore: v0.47.0

* chore: address changes from PR review

* fix: improved error handling

* address pr review

* better error messages for step run cels, remove debug logs

* fix: hash

---------

Co-authored-by: gabriel ruttner <gabriel.ruttner@gmail.com>
2024-09-26 22:00:34 +00:00

12 lines
145 B
Go

package cel
import "fmt"
func Str(s string) string {
return fmt.Sprintf(`"%s"`, s)
}
func Int(i int) string {
return fmt.Sprintf("%d", i)
}