Welcome to my Go learning journey! This repository contains my daily assignments from platforms like zop.dev, where I practice Go concepts through structured exercises and real-world problem solving.
To keep my codebase clean, organized, and easy to manage, I follow a branch-based Git workflow:
-
Start a new assignment
- Create a new branch for the assignment:
✅ Example:
git checkout -b assignment_<number>_<topic>
git checkout -b assignment_2_currency_converter
- Create a new branch for the assignment:
-
Develop the solution
- Write clean, tested code for the assignment.
- Keep functions modular and easy to understand.
- Add comments and use meaningful variable names.
-
Test the code thoroughly
- Run test cases if applicable.
- Check for edge cases, formatting, and logical errors.
-
Commit the work
- Use meaningful commit messages:
git add . git commit -m "Complete assignment 2: Currency Converter with time-based greeting"
- Use meaningful commit messages:
-
Merge into master
- Switch back to the
masterbranch and merge:git checkout master git merge assignment_2_currency_converter
- Switch back to the
-
Push to GitHub (optional)
git push origin master