utils

package
v1.5.17 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsTag

func ContainsTag(tags []string, tag string) bool

func RemoveDuplicates added in v0.7.16

func RemoveDuplicates(s []string) []string

func RoundDuration added in v1.4.8

func RoundDuration(duration time.Duration, to ...time.Duration) time.Duration

RoundDuration rounds duration to default value if no round passed

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