utils

package
v0.0.0-...-f979f54 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains[T comparable](elems []T, v T) bool

Contains reports if given element of type T is found in slice of type []T.

func Gzip

func Gzip(source string) error

Gzip compress given file and saves the new file as .gz extension in the currnet dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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