DEV Community

Ega Prasetya
Ega Prasetya

Posted on • Edited on

Golang Web - Hello World

Hi there! today i gonna show you how to create the Hello World in Go-language, so lets do it.

  • First Step u Should to import (fmt, and net/http)

Alt Text

  • Next, create two function for the Request

Alt Text

  • Last step, create function main and add the Route

Alt Text

  • And then open the terminal and your Browser

Alt Text

Finally! Congrats for your first Website with Go.

Enjoy it!.

Top comments (0)