|
|
|
|
|
by mseepgood
2187 days ago
|
|
> We have function types literally at the same exression, but Go requires to repeat it. It does not require it, the author chose to do it. t1 := hashtable.New(8, func(key string, m int) int {
is perfectly valid.https://go2goplay.golang.org/p/SbEXpyVl-V3 |
|