mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2026-11-01 00:00:12 +08:00
ch5-05 done
This commit is contained in:
1 parent
8a37694fae
commit
9711b0d64e
1 file changed
+1
-1
+1
-1
@@ -122,6 +122,6 @@ $ ./outline2 http://gopl.io
|
||||
|
||||
練習 **5.9** :編寫函數 expand,將s中的"foo"替換爲f("foo")的返迴值。
|
||||
|
||||
```go
|
||||
```Go
|
||||
func expand(s string, f func(string) string) string
|
||||
```
|
||||
Reference in new issue
Block a user