golings

module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0

README

golings

build and test

gopher

rustlings but for golang this time

You may know rustlings, right? If you don't, please go ahead and check out. rustlings is awesome. It is a CLI app designed to teach the awesome Rust programming language through exercises.

golings has the very same idea, but for the Go programming language

Installing

First, you need to have go installed. You can install it by visiting the Go downloads page

There are two ways to install

go install
go install github.com/mauricioabreu/golings/golings@latest
Binaries

Go to the releases page and choose the option that best fits your environment.

Doing exercises

First, clone this repository

git clone git@github.com:mauricioabreu/golings.git

All the exercises can be found in the directory golings/exercises/<topic>.

To run the next pending exercise:

golings run next

If you want to run a single exercise:

golings run variables1

In case you are stuck and need a hint:

golings hint variables1

To list all exercise while checking your progress:

golings list

To compile and run all the exercises:

golings verify

Contributing

See CONTRIBUTING.md

Learning resources

Directories

Path Synopsis
exercises
functions/functions1 command
I AM NOT DONE
I AM NOT DONE
functions/functions2 command
I AM NOT DONE
I AM NOT DONE
functions/functions3 command
I AM NOT DONE
I AM NOT DONE
functions/functions4 command
I AM NOT DONE
I AM NOT DONE
switch/switch1 command
I AM NOT DONE
I AM NOT DONE
variables/variables2 command
I AM NOT DONE
I AM NOT DONE
variables/variables4 command
I AM NOT DONE
I AM NOT DONE
variables/variables6 command
I AM NOT DONE
I AM NOT DONE
cmd
fixtures/error1 command
nolint success1 Make me compile!
nolint success1 Make me compile!
fixtures/next/next1 command
next1 Make me compile!
next1 Make me compile!
fixtures/next/next2 command
I AM NOT DONE
I AM NOT DONE
fixtures/pending1 command
I AM NOT DONE
I AM NOT DONE
fixtures/success1 command
success1 Make me compile!
success1 Make me compile!
ui

Jump to

Keyboard shortcuts

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