DEV Community

Discussion on: Rate limiting your goroutines

Collapse
 
kishanbsh profile image
Kishan B • Edited

When using the dark theme, the github gist embed does not adapt itself(screenshot below) this hurts the eye.

My suggestion,
Use markdown code blocks with go. Example below
This adapts well with the theme dark/white and has code coloring

import fmt

func main() {
    fmt.Println("Hello world")
}
Enter fullscreen mode Exit fullscreen mode

Screenshot