calc

package
v0.0.0-...-6a40114 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

bad implement. but you can pass the test.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Calc

type Calc struct {
	// contains filtered or unexported fields
}

func NewCalc

func NewCalc() *Calc

func (*Calc) Add

func (c *Calc) Add()

func (*Calc) Push

func (c *Calc) Push(val int64)

func (*Calc) Result

func (c *Calc) Result() int64

Jump to

Keyboard shortcuts

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