It is very easy. Do not worry if you using Windows, steps are same.
Step 1: Open terminal and type "$ mkdir $GOPATH/src/github.com/user"
For ex. user is DishankJindal
Step 2: Create a new repo from github for desktop application.
Step 3: Open it in atom, (check previous post how to install)
Step 4: Create a new file, name it hello.go
Step 5: Write the Go program.
Step 6: Open Terminal type this
You now have a working program. Now to upload to your github account.
Step 7: Open the github for desktop, click on change tab middle top. And type initial commit, then click to submit.
Step 8: Publish your repo onto your account. Click that button and you are done.
If you are reading still now, congo. You learned a lot, not go programming language (giggles) but how to stay on top of standards.
Do comment if it Worked/Not Worked for you.
No comments:
Post a Comment