Hello world! How to Start any Go Application

· 42 words · 1 minute read

This is a simple first version of any go application – The famous Hello World.

Using the format library and a c-style printf function to output a string to screen.

package main

import (
    "fmt"
)

func main() {
    fmt.Printf("Hello World")
}
Image of Author Edd Turtle

Author:  Edd Turtle

Edd is the Lead Developer at Hoowla, a prop-tech startup, where he spends much of his time working on production-ready Go and PHP code. He loves coding, but also enjoys cycling and camping in his spare time.

See something which isn't right? You can contribute to this page on GitHub or just let us know in the comments below - Thanks for reading!