Now with an online live editor with Golang support. Try out and edit the examples directly in the browser. These examples explain the basics of Golang. There will be more examples from time to time. The examples are divided into three levels of difficulty. The Beginner section contains very easy examples, starting with Hello World but also containing a few easy algorithms. The Advanced section uses more complicated features of Golang. Finally, the Expert section contains applications like telnet-clients or http-server (even with SSL). If you want even more Golang examples, you can take a look at my other go repositories at GitHub. To execute a Golang program, write go run at the cli followed by the name of the file. You also can convert the file to a binary executable program by the command go build. One great aspect of Golang is, that you can start go applications via go run name.go, but also compile it to an executable with go build name.go.

Features

  • To execute a Golang program, write go run at the cli followed by the name of the file
  • You also can convert the file to a binary executable program by the command go build
  • Print Hello World with comments (shebang version)
  • Declare array and print its items (Golang Playground)
  • Read via cli provided input data (Golang Playground)
  • Concat strings in two different ways (Golang Playground)

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Go Examples

Go Examples Web Site

Other Useful Business Software
Collect! is a highly configurable debt collection software Icon
Collect! is a highly configurable debt collection software

Everything that matters to debt collection, all in one solution.

The flexible & scalable debt collection software built to automate your workflow. From startup to enterprise, we have the solution for you.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Go Examples!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Libraries

Registered

2023-02-03