Implement Go 1.23 select patterns for multiplexing channels, timeouts, heartbeats, and priority-based message handling.
Act as a Go 1.23 select expert. Design a multiplexer handling [CHANNEL_SOURCES]. Add timeout with time.After for [TIMEOUT_DURATION]. Implement heartbeat on [HEARTBEAT_INTERVAL]. Use default case for [NON_BLOCKING_OPS]. Show priority select with [PRIORITY_CHANNELS]. Handle done signal for [SHUTDOWN_LOGIC].
Free to copy and use. Compatible with Claude 4 Opus, GPT-5, Llama 4.
List channel sources, timeout duration, heartbeat interval, non-blocking operations, priority channels, and shutdown logic.
Initial release
Sign in and download this prompt to leave a review.