Replacing a one-line bash script with 74 lines of Go #golang

Purge old files from a directory, with logging. Source code to the Go program:.