DEV Community

Ega Prasetya
Ega Prasetya

Posted on • Edited on

3 1

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)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️