util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package util contains some helper functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirIfNotExists added in v0.1.6

func CreateDirIfNotExists(dirName string) error

func CreateFileIfNotExists

func CreateFileIfNotExists(fileName string) (*os.File, error)

func DirExists added in v0.1.5

func DirExists(path string) bool

func ExtensionOf added in v0.1.6

func ExtensionOf(fileName string) string

func FileExists added in v0.1.5

func FileExists(path string) bool

func StripExtension added in v0.1.5

func StripExtension(fileName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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