calc

package
v0.0.0-...-79c8b73 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calc

func Calc(expression string) (float64, error)

minus number must wrap with parentheses

Types

type CalcErr

type CalcErr string

func (*CalcErr) Error

func (e *CalcErr) Error() string

type GrammerErr

type GrammerErr string

func (*GrammerErr) Error

func (e *GrammerErr) Error() string

type WordValidErr

type WordValidErr word

func (*WordValidErr) Error

func (e *WordValidErr) Error() string

Jump to

Keyboard shortcuts

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