README ¶ { "image": "direktiv/solve", "desc": "Solves math expressions" } Solve Solves math expressions using the Knetiv/govaluate Golang package. Direktiv An example workflow of using the container solve container to solve basic math. id: solver functions: - id: solve-math-expression image: direktiv/solve:v1 states: - id: solve type: action action: function: solve-math-expression input: x: "10*3" Input Expects input in the following format where x contains the math expression to solve: input: x: "10*3" Output Returns output in the following format: { "return": 30 } Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.