util

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must

func Must(err error)

Must will panic on error

func ParseInt32

func ParseInt32(in string) (int32, error)

ParseInt32 will try to parse integer in to int32 type

func ParseInt64

func ParseInt64(in string) (int64, error)

ParseInt64 will try to parse integer in to int64 type

func Slurp

func Slurp(fname string) ([]byte, error)

Slurp will read entire file in to memory

func Ulimit

func Ulimit() int64

Ulimit will try to get ulimit on a system or return a default var

Types

This section is empty.

Jump to

Keyboard shortcuts

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