interpreter

package
v0.0.0-...-0a60d77 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SUM = "sum"
	SUB = "sub"
	MUL = "mul"
	DIV = "div"
)

constants for calculator's operations

Variables

This section is empty.

Functions

func Calculate

func Calculate(o string) (int, error)

Calculate calculates the operations passed by parameter

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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