chore: initialize containerized Go learning workbook (2026 DevOps/SRE)
This commit is contained in:
commit
84be3e5d77
64 files changed
+1382
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package concurrency
|
||||
|
||||
import "context"
|
||||
|
||||
func ParallelSum(chunks [][]int) int {
|
||||
panic("TODO: policz sumę każdego chunka w osobnej goroutine i zsumuj wyniki bezpiecznie")
|
||||
}
|
||||
|
||||
func WaitOrCancel(ctx context.Context, ch <-chan string) (string, error) {
|
||||
panic("TODO: użyj select na <-ch oraz <-ctx.Done()")
|
||||
}
|
||||
Reference in new issue
Block a user