Skip to content

pjteh/go-fundamentals-udemy-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

About

fork of diary Project, which I had written as a practice side project on 30 Dec 2024.

Additional - diaryProject

30 Dec 2024 0936hrs I have created a diaryProject: this is a command-line interface diary program, written in Go, which allows the user to create, update, read or delete a diary entry file, directly from the command-line

The purpose of this CLI app is to scratch my own itch: I often focus on my tasks, and end the day without any reflection of how the day went. So the day ends without any retrospection, which is a wasted learning opportunity.

Having this CLI app serves to force me to reflect on what went well, what didn't go so well, and what could be improved for the next day.

I will dogfood this app for a while, and make iterative tweaks and improvements to the project along the way.

Changelog

  • 30Dec24 1257hrs: refactored codebase: main now very clean, while helper functions all put into a separate file.
  • 30Dec24 1651hrs: further refactored codebase, with createEntry and updateEntry helper functions further refactored into smaller, more modular helpers. Also improved the UX by adding some basic formatting e.g. displaying the Entry after the entry has been successfully created/updated. added a gitignore, so I don't accidentally upload my diary entries on Github!

TODOs

  • To refactor codebase: a lot of repetition

Releases

No releases published

Packages

No packages published

Languages