Categorygithub.com/bbkane/glib
modulepackage
0.1.1
Repository: https://github.com/bbkane/glib.git
Documentation: pkg.go.dev

# README

glib

Functions I find myself re-using

# Functions

EditFile writes a file if it does not exist, then opens the file to edit.
PretendToUse is an empty function to shut up the Go compiler while prototyping.
ValidateDirectory expands a directory and checks that it exists it returns the full path to the directory on success ValidateDirectory("~/foo") -> ("/home/bbkane/foo", nil).