Go Sandbox: A full-featured, IDE-level Go playground — now live and free to use
Discussions: https://discu.eu/q/https://go-sandbox.org/
| Github | https://github.com/blackfyre |
| Homepage | https://blackfyre.ninja |
Go Sandbox: A full-featured, IDE-level Go playground — now live and free to use
Discussions: https://discu.eu/q/https://go-sandbox.org/
Is *this* government efficiency?
Police guarding a Tesla dealership in Chicago.
We got the Robocop Omnicorp future!!
Gogg: A Multiplatform Downloader for GOG in Go
https://github.com/habedi/gogg
Discussions: https://discu.eu/q/https://github.com/habedi/gogg
Can anyone help me with designing a control board for a #hexapod ?
Got 18xMG996 servos and the original idea was to use 2xPCA9685PW boards to distribute the power load, but it didn't work out 😅
The brains would be an #arduinonanorp2040
Command & Conquer, Red Alert, Command & Conquer Renegade and Command & Conquer Generals (inc. Zero Hour) have their code officially open sourced.
Credit where it's due, EA did a good. (pat's EA on the head)
Functional Options Pattern
https://andrerfcsantos.dev/posts/functional-options-pattern/
Discussions: https://discu.eu/q/https://andrerfcsantos.dev/posts/functional-options-pattern/
This blog post is about the Functional Options Pattern, which provides a way to pass configuration options into a function or object while keeping the module’s API clean, flexible, and easy to use. This pattern became very popular in the Go programming language, but it can be applied in other languages. All the examples will use Go, but they should be readable even if you don’t know Go. In this blog post, we’ll start by illustrating the problem the Functional Options Pattern tries to solve using a simple text rendering function that we want to take some options. We’ll explore some traditional solutions for the problem and see how the Functional Options Pattern has some advantages over them.