Versions in this module Expand all Collapse all v1 v1.0.0 Mar 12, 2023 Changes in this version + type OperationProcessor interface + ProcessOperation func(operation calculator.Operation) (*string, error) + type Parser struct + func NewParser(op OperationProcessor, v ValidationHelper) *Parser + func (p *Parser) ProcessExpression(expr string) (*string, error) + type ValidationHelper interface + CheckInput func(operator string, operands []float64) error + type Validator struct + func NewValidator(expLen int, validOps []string) *Validator + func (v *Validator) CheckInput(operator string, operands []float64) error