utils

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodeFormat

func CodeFormat(data ...string) string

func DirExists

func DirExists(path string) bool

DirExists function to check if directory exists?

func DotJoin

func DotJoin(str ...string) string

func FileExists

func FileExists(path string) bool

FileExists function to check if file exists?

func FirstFnNotEmpty

func FirstFnNotEmpty(fx ...func() string) string

func FirstNotEmpty

func FirstNotEmpty(strs ...string) string

func IfEmpty

func IfEmpty(str string, fx func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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