Golang Code Examples
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
www
LICENSE
README.md
custom-error-handling.go
doubly-linked-list.go
eclipse-class-filter.png
golang-gopher.png
httpserver.go
jsoncfgo-a-json-config-file-reader.go
map-of-car-options.go
polymorphic_shapes.go
pta.png

README.md

Golang Code Examples

The best way to learn is by example.

This is a collection of Go code examples that demonstrate various concepts.

Read the companion articles at the [Golang Code Examples web site] (http://l3x.github.io/golang-code-examples/).

These examples could be useful for your projects, thesis and learning.

Feel free to use any of the code examples in your endeavors.

I hope this ressource is helpful to you.

Best Regards,

Lex

Audience

This reference has been prepared for programmers with beginning to intermediate level experience with Go to help understand concepts related to the Go programming language.

Prerequisites

I'm making the assumption that you are already familiar with Golang and it's concepts.

If not, see the references section below.

Supported Platforms

  • darwin/386
  • darwin/amd64
  • freebsd/386
  • freebsd/amd64
  • linux/386
  • linux/amd64
  • linux/arm
  • windows/386
  • windows/amd64

Running Examples

Each code example can be run from the command line like this: $ go run <FILE_NAME>

References

License

This project is licensed under a Simplified BSD license. Please read the LICENSE file.