diff options
| author | Akeda Bagus <akeda@x-team.com> | 2013-08-17 09:54:14 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-01-25 14:08:14 +0700 |
| commit | 7a96b2ad2e256d2502615a5dad2591a3076d58ea (patch) | |
| tree | 42d53ae542278ff419caaf93a80178ebacf5888a | |
| parent | 8c91655c55ba33d4afa5393200573e402db57f89 (diff) | |
| download | golang-id-tour-7a96b2ad2e256d2502615a5dad2591a3076d58ea.tar.xz | |
Translated function closure exercise.
| -rw-r--r-- | content/moretypes/exercise-fibonacci-closure.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/moretypes/exercise-fibonacci-closure.go b/content/moretypes/exercise-fibonacci-closure.go index d5a4e00..dbed61f 100644 --- a/content/moretypes/exercise-fibonacci-closure.go +++ b/content/moretypes/exercise-fibonacci-closure.go @@ -4,8 +4,8 @@ package main import "fmt" -// fibonacci is a function that returns -// a function that returns an int. +// fibonacci merupakan fungsi yang mengembalikan +// sebuah fungsi dengan nilai balik sebuah int. func fibonacci() func() int { } |
