utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package utils defines utility functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyToClipboard

func CopyToClipboard(text string) error

Copies generated string to clipboard

func CreateDir

func CreateDir() error

Creates the 'db/' directory Skips it if the directory exist

func GeneratePassword

func GeneratePassword() string

Returns a random 15 character string from the collection

func GetPath

func GetPath() (string, error)

Get full path to db location parent

Types

This section is empty.

Jump to

Keyboard shortcuts

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