Code Monkey home page Code Monkey logo

hello's Introduction

Hello World (Go) + So much more!

Purpose

The purpose of this project was to learn to hook my Atom Editor to both Go and Github. The definition of done is as followed:

  • Connect git to Github
  • Run hello world go program
  • Values
  • Variables
  • Constants
  • For
  • If/Else
  • Switch
  • Arrays
  • Slices
  • Maps
  • Range
  • Functions
  • Multiple Return Values
  • Variadic Functions
  • Closures
  • Recursion
  • Pointers
  • Structs
  • Methods
  • Interfaces
  • Errors
  • Goroutines
  • Channels
  • Channel Buffering
  • Channel Synchronization
  • Channel Directions
  • Select
  • Timeouts
  • Non-Blocking Channel Operations
  • Closing Channels
  • Range over Channels
  • Timers
  • Tickers
  • Worker Pools
  • Rate Limiting
  • Atomic Counters
  • Mutexes
  • Stateful Goroutines
  • Sorting
  • Sorting by Functions
  • Panic
  • Defer
  • Collection Functions
  • String Functions
  • String Formatting
  • Regular Expressions
  • JSON
  • Time
  • Epoch
  • Time Formatting / Parsing
  • Random Numbers
  • Number Parsing
  • URL Parsing
  • SHA1 Hashes
  • Base64 Encoding
  • Reading Files
  • Writing Files
  • Line Filters
  • Command-Line Arguments
  • Command-Line Flags
  • Environment Variables
  • Spawning Processes
  • Exec'ing Processes
  • Signals
  • Exit

How to connect to git

To connect your Atom browser to get, first watch some youtube videos on how to set your Atom IDE up to theoretically connect to git. Then (honestly this was a moth or two ago so I really don't remember that well how to get this done... sorry friends.) once that is setup, you can edit your .git/congif file to include the following lines

[remote "origin"]
			url = "https://github.com/mjschmidt/hello.git"

[branch "master"]
	remote = origin
	merge = refs/heads/master

After that you will need to create the git project on github so that your project has something to connect up to. But once that is done, you should be able to do git things with your git bash from online connected up to your github account. Again the bottom left has the ability to fetch, pull and push. Left click or setup your hotkeys to be able to do this automagically.

Running go programs,

So you will want to setup your Atom IDE to be able to run your computer's command line stuff. To do this install a terminal package through the Atom, download packages area. Right now to bring that up you can do a ctr + sift + p and type install packages.

Once you have your terminal installed you can use the hotkey of ctr + ` to open your shell session. and from there its is a simple

go run hello.go
PS C:\Users\Mike\Documents\GitHub\Atom\src\hello> go run hello.go
hello world
PS C:\Users\Mike\Documents\GitHub\Atom\src\hello>

hello's People

Contributors

mjschmidt avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.