🔥 Burn Fat Fast. Discover How! 💪

Go

Logo of telegram channel golang — Go G
Logo of telegram channel golang — Go
Channel address: @golang
Categories: Technologies
Language: English
Subscribers: 18.17K
Description from channel

// admin @denniselite
go func() { channel <- news }()
news := <-channel
fmt.Sprintf("%s", news)

Ratings & Reviews

1.67

3 reviews

Reviews can be left only by registered users. All reviews are moderated by admins.

5 stars

0

4 stars

0

3 stars

0

2 stars

2

1 stars

1


The latest Messages

2024-05-01 16:45:32 Mastering Maps in Go: Everything You Need to Know

Maps, also known as associative arrays or hash tables, are vital data structures for solving algorithmic problems in programming. Understanding their features, operations, time and space complexities, and implementation in code is crucial for developers. With this knowledge and practical experience, developers can effectively apply maps to problem-solving scenarios.

This article offers a comprehensive guide to using maps, covering their overview, implementation in Go programming, and strategies for using them in concurrent code.
10.7K views13:45
Open / Comment
2024-03-12 01:58:06 The Impact of Pre-Allocating Slice Memory on Performance — The author wanted to establish, in numbers, how pre-allocating memory improves performance using quantitative measurements and tools for automated detection.
18.5K views22:58
Open / Comment
2024-01-19 15:32:31
Initial Thoughts on Go 1.22 — 1.22 is due next month, but the release candidate gives us a look at plenty of changes and improvements coming down the pike, including new default behavior for loop variables in for loops, the ‘rangefunc’ experiment (more on that next), and even some performance improvements.

https://www.dolthub.com/blog/2024-01-12-golang-1-22rc/
27.8K views12:32
Open / Comment
2023-12-01 00:53:53 https://threedots.tech/post/making-games-in-go/

Miłosz uses the much loved Ebitengine to create a simple Asteroids game. There’s a lot to cover, but the steps are small and easy to digest if you’re looking to understand how games are made.
31.1K views21:53
Open / Comment
2023-09-09 23:58:25 Logging in Go: A Comparison of the Top 8 Libraries

There's probably a 99% chance that if you're logging in Go, you're using a third-party logging framework since the built-in log package lacks even the most basic features required for production logging. This recently changed with the release of Go 1.21 where the new log/slog package for structured, leveled, and context-aware logging was one of the major highlights.

https://betterstack.com/community/guides/logging/best-golang-logging-libraries/
36.8K views20:58
Open / Comment
2023-07-16 16:16:54 Go Sync or Go Home: WaitGroup

Go’s goroutines, channels, and mutexes make it easy to develop complex concurrency systems. Most problems can be solved using these three mechanisms, but you might be asking yourself — what else is out there?

https://medium.com/@yardenlaif/go-sync-or-go-home-waitgroup-5f074a03776e
36.6K views13:16
Open / Comment
2023-04-26 08:38:28
Memory leaks can be a significant issue in any programming language, and Go is no exception. Despite being a garbage-collected language, Go is still susceptible to memory leaks, which can lead to performance degradation and cause your operating system to run out of memory.
To defend itself, the Linux operating system implements an Out-of-Memory (OOM) killer that identifies and terminates processes that consume too much memory and cause the system to become unresponsive.
In this blog post, we’ll explore the most common causes of memory leaks in Go and demonstrate how to use Grafana Pyroscope, an open source continuous profiling solution, to find and fix these leaks.

https://grafana.com/blog/2023/04/19/how-to-troubleshoot-memory-leaks-in-go-with-grafana-pyroscope/
4.5K views05:38
Open / Comment
2023-02-12 02:09:55 User or *User - Do We Need Struct Pointers Everywhere?

The answer, as you might’ve guessed, is “no.” But, it’s also more nuanced due to the lifetime of a struct, its usage, and other aspects that boil this down to general guidelines and case-by-case analysis.

https://preslav.me/2023/02/06/golang-do-we-need-struct-pointers-everywhere/
1.4K views23:09
Open / Comment
2022-12-21 14:50:47 Error handling in Go is a little different than other mainstream programming languages like Java, JavaScript, or Python. Go’s built-in errors don’t contain stack traces, nor do they support conventional try/catch methods to handle them. Instead, errors in Go are just values returned by functions, and they can be treated in much the same way as any other datatype - leading to a surprisingly lightweight and simple design.

In this article, Brandon Schurman demonstrates the basics of handling errors in Go, as well as some simple strategies you can follow in your code to ensure your program is robust and easy to debug.

https://earthly.dev/blog/golang-errors/
3.7K views11:50
Open / Comment
2022-11-20 17:41:33 A bit of a clickbait title, but still an interesting finding: https://hmarr.com/blog/go-allocation-hunting/
3.8K views14:41
Open / Comment