Versions in this module Expand all Collapse all v0 v0.1.0 Jan 26, 2020 Changes in this version + type AdditionRequest struct + MaxSum int64 + NumberOfAddends int + func (a AdditionRequest) Valid() (bool, error) + type AdditionResult struct + Addends []int64 + Question string + Result string + Sum int64 + func AdditionResultFromModel(model mathgen.AdditionResult) AdditionResult + type SubtractionRequest struct + MaxMinuend int64 + NumberOfSubtrahends int + func (a SubtractionRequest) Valid() (bool, error) + type SubtractionResult struct + Difference int64 + Minuend int64 + Question string + Result string + Subtrahends []int64 + func SubtractionResultFromModel(model mathgen.SubtractionResult) SubtractionResult