Directories ¶
Path | Synopsis |
---|---|
This example shows how to create packages export and use their contents and do some unit testing
|
This example shows how to create packages export and use their contents and do some unit testing |
This example shows functions returning multiple values and error handling
|
This example shows functions returning multiple values and error handling |
This example shows arrays, slices, maps, defer, interface{} and reflection
|
This example shows arrays, slices, maps, defer, interface{} and reflection |
This example shows structs, struct embedding and methods
|
This example shows structs, struct embedding and methods |
This example shows usage of goroutines and channels It allocates slice of data_size int64 values sets them all to 1 and runs num_goroutines concurrent goroutines to sum all values
|
This example shows usage of goroutines and channels It allocates slice of data_size int64 values sets them all to 1 and runs num_goroutines concurrent goroutines to sum all values |
Click to show internal directories.
Click to hide internal directories.