package
Version:
v0.0.0-...-67051ba
Opens a new window with list of versions in this module.
Published: Sep 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package calc provides the core business API.
This layer wraps handles all the logic needed to execute operations.
Core manages the set of APIs for user access.
NewCore constructs a core for user api access.
Execute iterates splits the string into sections and then it iterates them
executing all operations inside, to have a final result
type Result struct {
Total float64 `json:"total"`
SumGroup []float64 `json:"sumGroup"`
}
Result represents the Execute API web response.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.