Articles under the 'GO' tag
Understanding Garbage Collection in Go
Understanding Garbage Collection in GoGarbage collection is a mechanism Go developers use to find memory space that is allocated recently but is no longer needed, hence the need to deallocate them to create a clean slate so that further allocation can be done on the same space or so that memory can
...
More >>
2024-04-01
GO
/
Back End
/
Garbage Collection
How to Write Elegant Code Using High Order Functions in GO Language
PrefaceIn go projects, it is often necessary to query the database. Based on previous Java development experience, many methods will be written according to the query criteria, such as:
GetUserByUserID
GetUsersByName
GetUsersByAge
Write a method for each query condition. This method is very good f
...
More >>