utils

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max(a, b int) int

Max returns the maximum of two integers

func Min

func Min(a, b int) int

Min returns the minimum of two integers

func NewWriter

func NewWriter(output string) io.Writer

NewWriter return a new io.Writer given an output file name. If the file name is '-' os.Stdout is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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