api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Calculator

type Calculator interface {
	Add(a, b float64) float64
	AddSub(a, b float64) (float64, float64)
	Divide(a, b float64) (float64, error)
	Pow(a, b float64) float64
	Avg(a []float64) float64
}

Calculator the calcuator interface

type Utils

type Utils interface {
	Capitalize(s string) string
	Tuple() (int, string, float64, error)
	TikTok(ctx context.Context) <-chan time.Time // event
	Panic() int
	Sleep(t time.Duration) error
}

Jump to

Keyboard shortcuts

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