/Go-language

I will be uploading some basic programming in Golang so if you want to contribute please Fork this repo and contriute.

Primary LanguageGo

photo

Go-language

I will be uploading some basic programming in Golang so if you want to contribute please Fork this repo and contriute.

This repo is for practice only

We have other repositories in the organisation you can contribute to. If you would like to join our GitHub organisation, raise an issue on this repo.


Golang

[Watch The Video]

How to add Practice Pull Requests

Repo for you to raise a Pull Request for practice.

Just add your program which was written in go language

How to contribute

  1. Fork the project
  2. Make any changes in your forked repo
  3. On this repo, click Pull Requests and raise a Pull Request selecting your fork on the right drop down

Questions can be asked by raising an Issue.

How to clone repo and make changes locally

  click on the clone button (green in colour). This gives you a copy of the project. Its now yours to play around with
  • Using git on your local machine. Do this to download the forked copy of this repo to your computer
  git clone https://github.com/yourGithubUsername/Go-language
  • switch to the cloned folder. This can be done with Gitbash or the integrated terminal in the VSCode editor
  cd Go-language
  • Make a new branch. Your name would make a good branch because it's unique
  git checkout -b <name of new branch>
  • Create New File filename.go

  • Add your code or documnetation and then stage.

  • Stage your changes

  git add filename.go

or

  git add .
  • Commit the changes
  git commit -m "Add <your-github-username>"
  • Check the status of your repository
  git status
  • Pushing your repository to github
  git push origin <name of your branch>

or

  git branch -M main
  git push -u origin main
  git push origin main --force
  • Navigate to your fork, on the top of the files section you'll notice a new section containing, a contribute button!

  • Click on the contribute button, it will open a drop down, click the pull request button on the drop down Note: A pull request allows your changes to be merged with the original project.

  • Wait for your changes to be merged

Hurray! You successfully made a contribution!