This is exercises repo.
You will need:
- Fork repo.
-
Clone forked repo. Use ssh because you will need to push.
-
Solve problems and test if they are valid.
go test -v -bench=. -race ./...
First need setup remote repo for update. You need to do that once:
git remote add upstream [email protected]:talgat-ruby/exercises-go.git
git remote set-url --push upstream DISABLE
Now any time you need to update you can do:
git pull upstream main
In order to run specific exercise (for example exercise2
):
go test -v -bench -race ./exercise2/...
Or specific problem (for example exercise3/problem5
):
go test -v -bench=. -race ./exercise3/problem5/...
Skip optional tests:
SKIPTEST=optional go test -v -bench=. -race ./exercise1/...
create PR from your repo to this one from branch {firstname}-{lastname}
for example talgat-saribayev
.