calc

module
v0.0.0-...-67051ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2023 License: Apache-2.0

README

CALCLI

This cli tool lets you create operations and separate them into sections.

It functionality is to help you get all the calculations you want, with sections separations. Returns you back the sum of all sections and the total for each section aswell.

-- Section separation = ","

-- Supported operations = "-, +, *, /"

How to run
make run-api
make run-gui | make run-cli (Whatever you prefer)

--- Take into account that to run the FE you have to create a .env file inside app/services/frontend with your android IP address/

  • Feel free to sugest any chances or to create a PR in case you want to add something.
  • Mainly did this to learn a little bit more about go.

Updates will be probably present in the future but I'm not sure what that would imply.

Directories

Path Synopsis
app
services/api/handlers
Package handlers manages the different versions of the API.
Package handlers manages the different versions of the API.
services/api/handlers/v1
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
services/api/handlers/v1/calcgrp
Package calcgrp mantains the group of handlers needed to execute operations.
Package calcgrp mantains the group of handlers needed to execute operations.
Package v1 represents types used by the web application for v1.
Package v1 represents types used by the web application for v1.
core/calc
Package calc provides the core business API.
Package calc provides the core business API.
web/v1
Package v1 represents types used by the web application for v1.
Package v1 represents types used by the web application for v1.
web/v1/debug
Package debug provides handler support for the debugging endpoints.
Package debug provides handler support for the debugging endpoints.
web/v1/mid
Package mid contains the set of middleware functions.
Package mid contains the set of middleware functions.
foundation
logger
Package logger provides support for initializing the log system.
Package logger provides support for initializing the log system.
web
Package web contains a small web framework extension.
Package web contains a small web framework extension.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL