utilpkg

package module
v0.0.0-...-4dc768e Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

README

Utility-package

Various go utilities we can use for development of (including, but not limited to) discord code.

Documentation

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeepAlive

func KeepAlive()

Keep a Go process alive by listening to process interrupt calls.

func RemoveFromSlice

func RemoveFromSlice(removeString string, list []string) []string

RemoveFromSlice takes <removeString string> <list []string> RemoveFromSlice removes a specific string form a slice. Returns []string

func Report

func Report(context string, err error)

Log an error with given context and the error itself

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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