soypat / gopherlings
- воскресенье, 26 июня 2022 г. в 00:32:49
📘️ Learn Go by fixing tiny incorrect programs
This project was directly inspired by the great ziglings project which itself was inspired by rustlings.
For a first time learner it is suggested you complement this material with another source such as
These exercises will probably be difficult if you've never programmed before.
The exercises should be self-contained and self-explained, though this is a WIP and suggestions are welcome!
Requires a Go installation to run the examples.
Download the repository (or alternatively clone it)
Install the VSCode Go extension authored by Go Team at Google
Open the gopherlings
folder in VSCode
Navigate to the exercise file, i.e. exercises/001-hello/hello.go
Once the hello.go
file is open you may edit it and press F5 to run it. Output will be shown in the Debug Console.
Clone repository
git clone https://github.com/soypat/gopherlings.git
Navigate to example's directory
cd gopherlings/exercises/001-hello
Edit the file so it is correct and run it with go run
go run hello.go