Versions in this module Expand all Collapse all v0 v0.1.0 Jan 26, 2020 Changes in this version + type AdditionResult struct + Addends []int64 + Sum int64 + func AddIntegerN(numberOfAddends int, maxSum int64) (AdditionResult, error) + func AddIntegers(maxSum int64) (AdditionResult, error) + func (a AdditionResult) String() string + func (a AdditionResult) StringQuestion() string + type SubtractionResult struct + Difference int64 + Minuend int64 + Subtrahends []int64 + func SubtractIntegerN(numberOfSubtrahends int, maxMinuend int64) (SubtractionResult, error) + func SubtractIntegers(maxMinuend int64) (SubtractionResult, error) + func (s SubtractionResult) String() string + func (s SubtractionResult) StringQuestion() string