Introduction
Golang code snippets by first time open source contributors
Rules
How to contribute
-
Add a folder and create your desired code snippet file inside the new folder
-
Push your changes to a new branch.
-
Create a pull request for your changes.
Contribution Guidelines
- Fork this repo. Please be sure to use the current main branch as your starting point:
https://github.com/morelmiles/golang-snippets
- You'll be redirected to:
https://github.com/your-username/golang-snippets
- Clone it the repository:
git clone https://github.com/your-username/golang-snippets.git
-
Open in the text editor of your choice
-
Create New Branch:
cd golang-snippets
git branch new-branch
git checkout new-branch
- Make your edits locally:
git add -A
- Commit the changes:
git commit -m "Commit Message Here"
- Submit a pull request:
git push --set-upstream origin new-branch-name