Development Setup
Prerequisites
Required Software
# Verify Go installation
go version
# Should show: go version go1.21.x or higher# Verify Git installation
git --versionRecommended Tools
Getting the Source Code
Fork the Repository
Clone Your Fork
Sync with Upstream
Project Structure
Building Gonzo
Quick Build
Manual Build
Development Build
Build for All Platforms
Running Tests
Unit Tests
Race Detection
Coverage Report
Integration Tests
Running Gonzo in Development
Basic Run
With Sample Data
Testing Features
Development Workflow
1. Create a Feature Branch
2. Make Changes
3. Test Changes
4. Commit Changes
5. Push to Your Fork
6. Create Pull Request
Code Style
Formatting
Linting
Code Conventions
Debugging
Using Delve
Logging Debug Info
VS Code Debug Configuration
Common Development Tasks
Adding a New Feature
Fixing a Bug
Updating Dependencies
Performance Profiling
CPU Profiling
Memory Profiling
Benchmarking
Troubleshooting Development Issues
Build Fails
Tests Fail
IDE Issues
Getting Help
Resources
Communication
Next Steps
Last updated