Forum Thread: An Introduction to Go Language

Step 1: Getting Go


Simply download and install it at


sudo apt-get install python-software-properties # 12.04
sudo add-apt-repository ppa:duh/golang
sudo apt-get update
sudo apt-get install golang

Step 2: Overview of Go and Why You Should Learn It

Go is an open source programming language with better syntax for quick programming. Obviously that being benefit, go has several perks when compared to other languages such as easy threading, with a thread being created by the prefix 'go' before the function. Go lang has some weird syntax but you will get over it soon.

Step 3: Hello World

First we will start of with the classic Hello World.

Step 4: Returning Values

Now we will try to return a string from a function.

Step 5: An Apachekiller in Go

Here is an program to DDOS the apache web server written in Go. Keep in mind that this is barely what it could do. This is a layer 7 attack as it is constantly opening the web page, you could infact just send 64000 bytes of packets constantly to port 80, which would be more effective. Any way here is the code ->

Step 6: What May Come

I am likely not going to continue this series, at least not in 2016(I've got exams, don't wanna fuck that up) but depending on demand I will write a Go lang series in 2017.

Be the First to Respond

Share Your Thoughts

  • Hot
  • Active