- Create a pipeline that reads text files, finds the number of occurrences of a given phrase in each text file, and calculate the total number of occurrences of the phrase in all files.
- Create a pipeline for calculating the sum of the squares of all of the natural numbers in a given range.
- Remove the time.Sleep(1 * time.Second) statement from the simple.go program and see what happens. Why is that?
- Modify the Go code of pipeline.go in order to create a pipeline with five functions and the appropriate number of channels.
- Modify the Go code of pipeline.go in order to find out what will happen when you forget to close the out channel of the first() function.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia