files

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentFileLocation

func GetCurrentFileLocation() string

Will return string of current file location where this function is called.

func GetCurrentMethodName

func GetCurrentMethodName() string

Will return string of current method location where this function is called.

func GetFileExtenstion

func GetFileExtenstion(pathOrFileName string) string

Get file extension (ex. "txt, csv, docs, json, yaml")

func IsExist

func IsExist(pathToFile string) bool

To check is file (not dir) exists, will return true if exist ant return false if not file (dir) or not exist

Types

This section is empty.

Jump to

Keyboard shortcuts

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