Skip to content

Multiple examples of using Go, demonstrating its syntax and native capabilities.

License

Notifications You must be signed in to change notification settings

bakeruk/go-examples

Repository files navigation

Go Examples

Multiple examples of using Go, demonstrating its syntax and native capabilities.


Table of Contents

Getting started

Ensure you have Go installed.

Run the files using go run <file_path>.

Hello world

hello-world is a simple "Hello world" example, demonstrating Go's syntax and concurrency via its async/await equivalent, channels.

Hello world (intermediate)

hello-world-intermediate is an intermediate "Hello world" example, demonstrating Go's syntax and concurrency via its async/await equivalent, channels.

Object orientated

object-oriented generates a cat object using OOP equivalent methodology.

Random integer range

random-int-range A truly random integer range. Any number generated through math/rand is not really random by default, as being deterministic it will always print the same value each time.

About

Multiple examples of using Go, demonstrating its syntax and native capabilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages