directory
0.0.0-20240119052524-3363882ba0c5
Repository: https://github.com/postmannen/go-learning.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
This example is the same as 04, just that the checking of data is done with a range loop instead of checking if the loop is closed or not.
testing file reading in one go routine and sending whats read to other goroutine.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Test how to pass pointers to array via a channel, change it, and check if the change is reflected in the Go routine where the array was created.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The idea here is to create buffer, and if the buffer is saturated, then drop the request.
No description provided by the author
No description provided by the author
No description provided by the author
Spawn up a bunch of goroutines who want to put a single nr.
Make a buffered reader of channel.
Make a buffered reader of channel.
Example for checking if a channel is closed.
No description provided by the author
No description provided by the author
The purpose of this test is to convert one type of channel to a channel of open interface, interface{}.
chan struct{} are used for signaling.
Testing the concept of channels who contains another channel of struct{} for signaling.
Testing the concept of channels who contains another channel of struct{} for signaling.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The purpose of this test is to learn more on context and cancelation of http request and responses.
Example is for testing out setting channels to nil.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author