Home >Backend Development >Golang >What development tools do you use for golang?

What development tools do you use for golang?

coldplay.xixi
coldplay.xixiOriginal
2020-07-22 09:50:146662browse

The development tools used by golang are: 1. Go Revive, which is a code quality detection tool for Go language; 2. Go Callvis, which can be used to visualize the call graph of Go programs; 3. Gaia, which is efficient and fast , lightweight, and developer-friendly.

What development tools do you use for golang?

The development tools used by golang are:

1, Go Revive

revive is a Go language code quality inspection tool (Linter for Go). It is fast, configurable, scalable, flexible and beautiful, and can be used as an alternative to golint.

Although golint is very popular, revive provides more new features that are worth your time to study. For example, it runs faster (up to 6x!) and allows linting rules to be configured using TOML files. , and provide more rules.

2. Go Callvis

Be sure to bookmark this visualization tool. You can use Go Callvis to visualize the call graph of the Go program. This development tool has an interactive view using an HTTP server.

From the introduction on GitHub: "The purpose of this tool is to give a visual overview of a program by using data from a function call graph and its relationship to packages and types. This is useful when you are just trying to understand someone else Code structure, or especially useful in large projects where code complexity increases.

3、Gaia

No matter what the programming language is, we should support automation, Gaia is an open source automation platform that supports DevOps and is based on HashiCorp's go-plugin and gRPC. Gaia is efficient, fast, lightweight, and developer-friendly.

One of the smoothest things about Gaia is that it is smooth Smooth user interface, in addition to having a beautiful appearance, it can quickly use the kernel written in Go. In the alpha version, Gaia is not recommended for mission-critical use.

4, Realize

Realize is a Go tool that focuses on speeding up and improving developer workflows, automating user workflows, integrating other third-party tools, defining custom cli commands, and re-activating every change reload the project without having to stop writing code.

5.Gotests

gotests makes writing Go tests easy. It is a Golang command line tool that Generate table-driven tests based on the function and method signatures of target source files. You have many different plugins to choose from, including: Emacs, Vim, Atom editor, Visual Studio Code, IntelliJ Goland, and Sublime Text 3 plugins.

Related learning recommendations: Go language tutorial

The above is the detailed content of What development tools do you use for golang?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn