Socket
Socket
Sign inDemoInstall

github.com/JmmLDeveloper/go_eval

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/JmmLDeveloper/go_eval


Version published

Readme

Source

Math Expression Evaluator

run

go run .

usage

type a valid mathematic expression after the > and press enter to see the result!
you can also type q to stop the program
> 2+2
4
> -4*2 + (3 /4)
-7.25
until next time!

test

go test ./utils/ -v

FAQs

Last updated on 30 Dec 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc