Skip to content

Development Guide

Guides for developers working with HexaGo-generated projects.

Overview

This section covers practical guidance for working with projects generated by HexaGo. Whether you're building a new service, adding features, or debugging issues, these guides will help you navigate the codebase effectively.

Contents

Getting Started

Code Quality

  • Coding Conventions — Standard patterns for error handling, logging, and context usage
  • Testing — Unit tests, integration tests, and test organization

Architecture

Developer Tools

Quick Reference

# Build and test
make build && make test

# Run the application
go run main.go run

# Validate architecture
hexago validate

# Run linter
make lint

Prerequisites

  • Go 1.21 or later
  • For integration tests: API keys configured in .env
  • For Docker: Docker and Docker Compose installed