An interesting way to visualize large projects by way of go test -coverprofileβs results.
https://github.com/nikolaydubina/go-cover-treemap
#go #tool
Please open Telegram to view this post
VIEW IN TELEGRAM
π3π₯1
The author shows by example how you can implement dependency injection between components using the wire library from google.
The library allows you to implement compile-time dependency injection without using reflection, which can speed up the time and speed of your application.
Link to the article
#go #article #tool
Please open Telegram to view this post
VIEW IN TELEGRAM
π3
The Makefile is an essential component found in almost every large Go project. However, make has its downsides - it's not very flexible, and the commands can often be complex and hard to read.
The author of the article discusses two tools that can replace make: Taskfile, which allows you to describe instructions in the familiar YAML format, and Mage, an alternative tool that lets you write Makefile-like instructions in Go, offering greater flexibility.
Link to the article
#go #tool #article
Please open Telegram to view this post
VIEW IN TELEGRAM
π3π₯2
Go applications often work with the gRPC protocol, which is faster than standard REST. When working with gRPC, you might find an excellent open-source tool called Buf very useful. Buf helps manage your proto files by generating a unified file from those located in different directories (e.g., you can separate your projectβs proto files from vendor proto files). Additionally, Buf includes linters that check your proto files and prevent errors, along with many other features that simplify working with proto files.
Link to the official website
#go #tool
Please open Telegram to view this post
VIEW IN TELEGRAM
π4π₯2
The library implements a wide range of familiar string manipulation functions that are built into other languages but not available in Go. For example, it includes
ShuffleSource()
, similar to str_shuffle
in PHP, and SwapCase()
, similar to str.swapcase
in Python or String#swapcase
in Ruby.https://github.com/huandu/xstrings
#go #tool
Please open Telegram to view this post
VIEW IN TELEGRAM
π7π₯3
Goyave an opinionated all-in-one Golang web framework focused on REST APIs, with emphasis on code reliability, maintainability and developer experience.
https://github.com/go-goyave/goyave
#go #tool
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯4π2
The sqlbuilder package implements a series of flexible and powerful SQL string concatenation builders. This package focuses on constructing SQL strings for direct use with the Go standard library's sql.DB and sql.Stmt related interfaces, and strives to optimize the performance of building SQL and reduce memory consumption.
https://github.com/huandu/go-sqlbuilder
#go #tool
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯5π3
Leveraging benchstat Projections in Go Benchmark Analysis! π€
Link to the article
#go #article #benchmark #tool
In this post, we will get you familiar with the benchstat tool and some Go benchmarking best practices.
Soβ¦ get that terminal warmed up and letβs go!
Link to the article
#go #article #benchmark #tool
Please open Telegram to view this post
VIEW IN TELEGRAM
1π8 3β1
One of the most popular libraries that simplifies the release process for Go has been updated - GoReleaser! The new version reaches a new level: the author added support for two increasingly popular languages: Rust and Zig!
List of all changes
#go #go@digest_golang #tool #tool@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
1π6β€3π₯3
godump π
A minimal, developer-friendly pretty-printer and debug dumper for Go structs, inspired by Laravelβs dump() and Symfonyβs VarDumper.
https://github.com/goforj/godump
#tool #tool@digest_golang
A minimal, developer-friendly pretty-printer and debug dumper for Go structs, inspired by Laravelβs dump() and Symfonyβs VarDumper.
https://github.com/goforj/godump
#tool #tool@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
β€2π2