November 2017
Intermediate to advanced
670 pages
17h 35m
English
Let’s test itertool's Map function by passing it a collection of words of various lengths and a literal function to operate on each word to return its length:
package itertoolsimport ( "testing" "reflect" . "github.com/yanatan16/itertools")
Let's not forget to run go get -u github.com/yanatan16/itertools to download the itertools package along with its dependencies.