Spaces:
Configuration error
Configuration error
Download server/templates/level_9/processor.go from anonajay/lint-coding-agent: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/spaces/anonajay/lint-coding-agent/resolve/main/server/templates/level_9/processor.go
- Command line
-
hf download hf://spaces/anonajay/lint-coding-agent/server/templates/level_9/processor.go
-
curl -L -o processor.go https://huggingface.co/spaces/anonajay/lint-coding-agent/resolve/main/server/templates/level_9/processor.go
292 Bytes
| package main | |
| import "fmt" | |
| func main() { | |
| // BROKEN: An unbuffered channel requires a receiver to be ready | |
| // at the exact moment a sender sends. | |
| ch := make(chan int) | |
| ch <- 42 // Execution stops here forever! | |
| val := <-ch | |
| fmt.Println("Received:", val) | |
| } |