From f7ada037707af9b2804ec9201fed0864e10e45dd Mon Sep 17 00:00:00 2001 From: Anand Prabhu Date: Thu, 17 Jan 2019 00:14:29 +0400 Subject: [PATCH] fix: readme file with the correct link + Updates the readme file with the correct link for `2. Naked Expressions` exercise + Improves the readability --- .../exercises/06-use-godoc/exercise.md | 18 ++++++++---------- .../exercises/README.md | 4 ++-- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/04-statements-expressions-comments/exercises/06-use-godoc/exercise.md b/04-statements-expressions-comments/exercises/06-use-godoc/exercise.md index 78b6eb2..7d54156 100644 --- a/04-statements-expressions-comments/exercises/06-use-godoc/exercise.md +++ b/04-statements-expressions-comments/exercises/06-use-godoc/exercise.md @@ -1,10 +1,8 @@ -// --------------------------------------------------------- -// EXERCISE -// 1- Print the documentation of runtime.NumCPU function -// in the command line -// -// 2- Print also its source code using in the command line -// -// HINT -// You should use correct go doc tools -// --------------------------------------------------------- +## EXERCISE + +- Print the documentation of `runtime.NumCPU` function in the command line +- Print also its source code using in the command line + +## HINT + +You should use correct `go doc` tools diff --git a/04-statements-expressions-comments/exercises/README.md b/04-statements-expressions-comments/exercises/README.md index 6ba2e82..d9d26b3 100644 --- a/04-statements-expressions-comments/exercises/README.md +++ b/04-statements-expressions-comments/exercises/README.md @@ -2,7 +2,7 @@ Observe how Go fixes semicolons for you. -2. **[Naked Expression](https://github.com/inancgumus/learngo/tree/master/04-statements-expressions-comments/exercises/01-shy-semicolons)** +2. **[Naked Expression](https://github.com/inancgumus/learngo/tree/master/04-statements-expressions-comments/exercises/02-naked-expression)** Observe what happens when you use an expression without a statement. @@ -20,4 +20,4 @@ 6. **[Use the GoDoc](https://github.com/inancgumus/learngo/tree/master/04-statements-expressions-comments/exercises/06-use-godoc)** - Try godoc yourself. \ No newline at end of file + Try godoc yourself.