golang-demos

module
v0.0.0-...-8c2d5ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: MIT

README

Demo Programs in GoLang

These are for an introductory class in Go.

Each subdirectory contains one go program, as a single .go file in the main package.

The subdirectory names start with a number, which is the order in which you should read and learn and try the programs.

Demo:

$ git clone https://github.com/strickyak/golang-demos.git
$ cd golang-demos

$ go run 01-hello/hello.go
$ go run 02-func/func.go
$ go run 03-string/string.go
$ go run 11-slice/slice.go

# These are servers.  Hit Ctrl-C to stop them:
$ go run 21-webserver/webserver.go
$ go run 22-fileserver/fileserver.go

Directories

Path Synopsis
Sieve of Eratosthenes
Sieve of Eratosthenes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL