//
pkg.gl
Category
github.com/PacktPublishing/Test-Driven-Development-in-Go
chapter03-solution
calculator
package
1.0.0
Repository:
https://github.com/packtpublishing/test-driven-development-in-go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
3
Files
69 SLOC
#
Functions
NewEngine
NewEngine initialises an engine instance and returns it.
#
Structs
Engine
Engine is the mathematical logic part of the calculator.
Operation
Operation is the wrapper object that contains the operator and operand of a mathematical expression.