> 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.