Skip to content

Commit

Permalink
feat: add example go 1.22 for range for number (#263)
Browse files Browse the repository at this point in the history
* feat: add example go 1.22 for range for number

* fix: Wrong homebrew install command (#262)

* feat: bump version to v1.22

---------

Co-authored-by: novalagung <[email protected]>
  • Loading branch information
afifurrohman-id and novalagung authored Apr 22, 2024
1 parent d100ea1 commit f09ca67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions content/A-perulangan.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ for k, v := range kvs {
for range kvs {
fmt.Println("Done")
}

// selain itu, bisa juga dengan cukup menentukan nilai numerik perulangan
for i := range 5 {
fmt.Print(i) // 01234
}
```

## A.14.5. Penggunaan Keyword `break` & `continue`
Expand Down
2 changes: 1 addition & 1 deletion content/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Ada total sekitar <b>120 chapter</b> yang dibahas dalam ebook ini. Kumpulan chap
</li>
</ol>

Versi e-book: **((VERSION))**, dan versi Go **1.20**.
Versi e-book: **((VERSION))**, dan versi Go **1.22**.

## Download File E-book (pdf, epub, mobi)

Expand Down

0 comments on commit f09ca67

Please sign in to comment.