fix: readme file with the correct link
+ Updates the readme file with the correct link for `2. Naked Expressions` exercise + Improves the readability
This commit is contained in:
committed by
Inanc Gumus
parent
1faf749b1e
commit
f7ada03770
@ -1,10 +1,8 @@
|
|||||||
// ---------------------------------------------------------
|
## EXERCISE
|
||||||
// EXERCISE
|
|
||||||
// 1- Print the documentation of runtime.NumCPU function
|
- Print the documentation of `runtime.NumCPU` function in the command line
|
||||||
// in the command line
|
- Print also its source code using in the command line
|
||||||
//
|
|
||||||
// 2- Print also its source code using in the command line
|
## HINT
|
||||||
//
|
|
||||||
// HINT
|
You should use correct `go doc` tools
|
||||||
// You should use correct go doc tools
|
|
||||||
// ---------------------------------------------------------
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Observe how Go fixes semicolons for you.
|
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.
|
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)**
|
6. **[Use the GoDoc](https://github.com/inancgumus/learngo/tree/master/04-statements-expressions-comments/exercises/06-use-godoc)**
|
||||||
|
|
||||||
Try godoc yourself.
|
Try godoc yourself.
|
||||||
|
Reference in New Issue
Block a user