go-critic
The most opinionated Go source code linter for code audit. (by go-critic)
xdg-go
Go implementation of the XDG Base Directory Specification and XDG user directories (by adrg)
Our great sponsors
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-critic
Posts with mentions or reviews of go-critic.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-21.
- Go-critic: the most opinionated Golang source code linter
- Just migrated our Open Source project to Golang
-
Linter for strings ?
Check out https://github.com/go-critic/go-critic and https://github.com/golangci/golangci-lint.
-
a go linter to check goroutines for a defer
https://github.com/go-critic/go-critic, This is a very popular linter and it uses syntax interpreter instead of regex, I suggest op to take a look
- New go-critic v0.6.0
xdg-go
Posts with mentions or reviews of xdg-go.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-16.
- $Home, Not So Sweet $Home
-
Rob Pike: “Dotfiles” being hidden is a UNIXv2 mistake (2012)
Slight correction here, XDG keys are analogous to Windows standards: https://github.com/adrg/xdg/blob/master/README.md
-
Seeking input on wallpaper utility
Annoyingly enough, while you claim to use XDG_CONFIG_HOME, you're only using $HOME/.config which is what it defaults to but not what the user might have set. Use os.Getenv("XDG_CONFIG_HOME") or similar functions to get the directory that the user have actually set to. You could also just use this package
-
Generic path to Documents folder for every user?
Perhaps use packages like https://github.com/adrg/xdg, that do the magic also for all operating systems.
What are some alternatives?
When comparing go-critic and xdg-go you can also consider the following projects:
revive - 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
Golang-PDF-to-Image-Converter - This project will help you to convert PDF file to IMAGE using golang.
go-callvis - Visualize call graph of a Go program using Graphviz
zb - an opinionated repo based tool for linting, testing and building go source
Peanut - 🐺 Deploy Databases and Services Easily for Development and Testing Pipelines.
golang-ifood-sdk - Golang Ifood API SDK
golang-tutorials - Golang Tutorials. Learn Golang from Scratch with simple examples.
go-wkhtmltopdf - Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface
igo - Improved Go Syntax (transpiler)
depth - Visualize Go Dependency Trees