/explore
|
You are here |
hjr265.me | ||
| | | | |
mfbmina.dev
One of the best Go features is how easy we can use concurrency. The language gives us goroutines, which are like lightweight threads managed by the Go runtime. It help us to run several functions at the same instant and is very helpful if you wish to improve the performance of your application. Using this feature is easy as adding the go keyword before any function call. This will make the function run concurrently. To make it simpler, let's show you the code. Here I've written the SleepSort algorithm, w... |
|
| | | | | ||
| | | | |
evilcookie.de
[AI summary] The author describes a bash script they created to rename files without having to repeat the full path, using Go's os.Rename function to achieve a simple and memorable renaming process. |
|
| | | | | ||
| | | | |
www.4async.com
Go?1.17?1.17?1.18?6?Go 1.18?1.17? ?Go?interface{}?Go?interface{}? ?Go?... |
|
| | | | | ||
| | | | |
www.integralist.co.uk
Interfaces in Go Name Your Interface Arguments Keep Interfaces Small Accept Interfaces, Return Concrete Types Don't Return Concrete Types Use existing interfaces Don't Force Interfaces Embedding Interfaces Upgrading Interfaces Standard Library Interfaces Tight Coupling Dependency Injection Refactoring Considerations Testing More flexible solutions? Conclusion This post is going to explain the importance of interfaces, and the concept of programming to abstractions (using the Go programming language), by ... |
|
| | | |||