GoNexus is a VSCode extension that helps you maintain high-quality Go code by analyzing your codebase for best practices, potential issues, and security vulnerabilities.
Features
Code Quality Analysis: Identifies best practices and formatting issues in your Go code
Issue Detection: Finds potential bugs and runtime issues before they occur
Security Analysis: Detects security vulnerabilities in your Go code
Organized Results: Issues are categorized for easy navigation
Quick Fixes: Automatically fix common formatting issues
Requirements
GoNexus uses industry-standard Go tools for analysis. For the best experience, make sure you have installed:
Go 1.16+
The following tools (GoNexus can help you install them):
golint
staticcheck
gosec
Getting Started
Open a Go project in VSCode
Click the GoNexus icon in the Activity Bar
Use the "Refresh" button to analyze your code
Review the issues found in the "Best Practices" and "Issues" tabs
Click on any issue to navigate to the problematic code
Use the "Fix" context menu option for fixable issues
Extension Settings
GoNexus contributes the following settings:
gonexus.enableBestPractices: Enable/disable best practices analysis