util

package
v0.0.0-...-b8b4108 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BcryptHash

func BcryptHash(rawPassword string) string

func Contains

func Contains(elems []string, v string) bool

func GetWithPrefix

func GetWithPrefix(elems []string, prefix string) string

func HomeDir

func HomeDir() (homeDir string)

func Log

func Log(err error)

func LogFatal

func LogFatal(err error)

func OpenSqliteDB

func OpenSqliteDB() (db *gorm.DB)

func RandString

func RandString(n int) string

func ToLowerFirstLetter

func ToLowerFirstLetter(str string) string

func ToUpperFirstLetter

func ToUpperFirstLetter(str string) string

func WorkDir

func WorkDir() (workDir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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