mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-11-28 09:09:07 +00:00
ch5-05 done
This commit is contained in:
parent
8a37694fae
commit
9711b0d64e
@ -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
|
||||
```
|
Loading…
Reference in New Issue
Block a user