adventofgo

package module
v0.0.0-...-aada718 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x int) int

Abs returns the absolute value of x.

func AsInt

func AsInt(s string) int

func BinaryToInt

func BinaryToInt(s string) int64

func CheckError

func CheckError(err error)

func CloneInts

func CloneInts(ints []int) (clone []int)

func Contains

func Contains(item int, list []int) bool

func GetFileString

func GetFileString(name string) string

func IndexOf

func IndexOf(item string, list []string) int

func IndexOfInt

func IndexOfInt(item int, list []int) int

func IndexOfInt64

func IndexOfInt64(item int64, list []int64) int

func ReadFile

func ReadFile(name string) []string

func RemoveEmpty

func RemoveEmpty(s []string) []string

func ReverseString

func ReverseString(s string) (result string)

func Unique

func Unique(strSlice []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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