Skip to content

Instantly share code, notes, and snippets.

View amaneshi's full-sized avatar
🏠
Working from home

Max Hontar amaneshi

🏠
Working from home
View GitHub Profile
@amaneshi
amaneshi / .golangci.yml
Created February 25, 2023 13:08 — forked from maratori/.golangci.yml
Golden config for golangci-lint
# This code is licensed under the terms of the MIT license.
## Golden config for golangci-lint v1.51.2
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adopt and change it for your needs.
run:
# Timeout for analysis, e.g. 30s, 5m.
@amaneshi
amaneshi / update-golang.md
Last active April 16, 2022 17:36 — forked from nikhita/update-golang.md
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: