A Tour of Go Solutions

This repository contains my solutions to the exercises in "A Tour of Go".
Running the Code
To run the code, you need to have Go installed on your machine. You can download it from the
official Go website.
Once you have Go installed, you can use the tour.go file to run the exercises. Open a terminal, navigate to the
directory where the tour.go file is located, and run the following command:
go run tour.go <module> <program>
Replace <module> with the name of the module you want to run and <program> with the name of the program you want
to run. For example, to run the hello program in the welcome module, you would run:
go run tour.go welcome hello
Individual exercises are also runnable directly. For example, to run the hello exercise in the welcome module,
you can run:
go run welcome/hello/hello.go
On Windows, you may need to use go run .\welcome\hello\hello.go instead.
License
The Go Authors license the original code excerpts from the Go Tour, included or adapted from the official Go Tour
repository under the BSD 3-Clause License.
My contributions and modifications are, in practice, not significant enough to warrant separate licensing, but I have
chosen to license this repository under the same BSD 3-Clause License for consistency. See the LICENSE file
for details.
Since intentions matter, let me state upfront that I'm using this as an exercise to refresh my knowledge of the Go
language and to practise source control and versioning with Jujutsu. I couldn't
care less about how you use my code. Copy it, modify it, feed it to an AI, ignore it, whatever. Just don't do anything
that the original Go Tour authors and the BSD-3-Clause License don't allow.