Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages