utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChannelWithTimeout

func NewChannelWithTimeout(d time.Duration) chan struct{}

NewChannelWithTimeout returns a channel that will close in the time specified.

func NewRecordFilepath

func NewRecordFilepath(savingPath, alias string) (string, error)

NewRecordFilepath returns a new filepath for a record with the savingPath and alias provided. It creates its parent dirs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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