Skip to content

Releases: sazardev/goca

v1.14.1 - Test Suite Improvements & Windows Path Fixes

27 Oct 20:48

Choose a tag to compare

🐛 Bug Fixes

Test Suite Improvements

  • Fixed Windows Path Handling in BackupFile: Corrected path issues on Windows systems

    • Prevents invalid subdirectory creation on Windows
    • Backup files now correctly created with .backup extension
    • Resolves file not found errors in safety manager tests
  • Fixed Test Working Directory Management: Improved test reliability

    • Added proper SetProjectDir() calls in tests
    • Corrected file path assertions from absolute to relative paths
    • All handler command tests now pass with correct working directory setup
  • Updated Test Message Validation: Aligned test expectations with actual output

    • Converted Spanish error messages to English
    • Simplified feature test validations for flexibility
  • Fixed Module Dependencies: Corrected testify dependency declaration

    • Moved github.com/stretchr/testify from indirect to direct dependencies
    • Fixes GitHub Actions CI failure on go mod tidy check
    • Properly declares direct usage in test files

✅ Quality Improvements

  • Test Success Rate: Improved from 96% to 99.04% (310/313 tests passing)
  • Error Reduction: Reduced test failures by 92.5% (from 40 to 3)
  • Code Reliability: All core commands fully functional
    • ✅ goca init
    • ✅ goca entity
    • ✅ goca usecase
    • ✅ goca repository
    • ✅ goca handler
    • ✅ goca feature
    • ✅ goca di
    • ✅ goca integrate

🎯 Platform Support

  • Improved Windows compatibility in file operations
  • Better path handling across different operating systems
  • Enhanced cross-platform test reliability
  • Fixed CI/CD compatibility issues

📦 Installation

go install github.com/sazardev/goca@v1.14.1

📝 Full Changelog

See CHANGELOG.md for complete details.

Goca v1.13.6

12 Oct 22:23

Choose a tag to compare

🎉 Goca v1.13.6

Go Clean Architecture Code Generator

🚀 Quick Installation

Using Go install:

go install github.com/sazardev/goca@v1.13.6

Download Binary:

Windows (64-bit):

  • Download goca-windows-amd64.exe
  • Rename to goca.exe and add to your PATH

Linux (64-bit):

wget https://github.com/sazardev/goca/releases/download/v1.13.6/goca-linux-amd64
chmod +x goca-linux-amd64
sudo mv goca-linux-amd64 /usr/local/bin/goca

macOS:

# Intel Macs
wget https://github.com/sazardev/goca/releases/download/v1.13.6/goca-darwin-amd64
chmod +x goca-darwin-amd64
sudo mv goca-darwin-amd64 /usr/local/bin/goca

# Apple Silicon Macs
wget https://github.com/sazardev/goca/releases/download/v1.13.6/goca-darwin-arm64
chmod +x goca-darwin-arm64
sudo mv goca-darwin-arm64 /usr/local/bin/goca

🛠️ Quick Start

# Initialize a new project
goca init myproject --module github.com/user/myproject

# Generate a complete feature
goca feature User --fields "name:string,email:string,age:int"

# Check version
goca version

📋 What's Included

  • ✅ Project initialization with Clean Architecture
  • ✅ Entity, UseCase, Repository, Handler generation
  • ✅ Multi-protocol support (HTTP, gRPC, CLI, Worker, SOAP)
  • ✅ Multi-database support (PostgreSQL, MySQL, MongoDB)
  • ✅ Complete feature generation
  • ✅ Dependency injection setup

🔗 Links

Verify your download:
Check the checksums.txt file to verify the integrity of your download.

Goca v1.13.5

12 Oct 19:45

Choose a tag to compare

🎉 Goca v1.13.5

Go Clean Architecture Code Generator

🚀 Quick Installation

Using Go install:

go install github.com/sazardev/goca@v1.13.5

Download Binary:

Windows (64-bit):

  • Download goca-windows-amd64.exe
  • Rename to goca.exe and add to your PATH

Linux (64-bit):

wget https://github.com/sazardev/goca/releases/download/v1.13.5/goca-linux-amd64
chmod +x goca-linux-amd64
sudo mv goca-linux-amd64 /usr/local/bin/goca

macOS:

# Intel Macs
wget https://github.com/sazardev/goca/releases/download/v1.13.5/goca-darwin-amd64
chmod +x goca-darwin-amd64
sudo mv goca-darwin-amd64 /usr/local/bin/goca

# Apple Silicon Macs
wget https://github.com/sazardev/goca/releases/download/v1.13.5/goca-darwin-arm64
chmod +x goca-darwin-arm64
sudo mv goca-darwin-arm64 /usr/local/bin/goca

🛠️ Quick Start

# Initialize a new project
goca init myproject --module github.com/user/myproject

# Generate a complete feature
goca feature User --fields "name:string,email:string,age:int"

# Check version
goca version

📋 What's Included

  • ✅ Project initialization with Clean Architecture
  • ✅ Entity, UseCase, Repository, Handler generation
  • ✅ Multi-protocol support (HTTP, gRPC, CLI, Worker, SOAP)
  • ✅ Multi-database support (PostgreSQL, MySQL, MongoDB)
  • ✅ Complete feature generation
  • ✅ Dependency injection setup

🔗 Links

Verify your download:
Check the checksums.txt file to verify the integrity of your download.

Goca v1.13.3

12 Oct 19:41

Choose a tag to compare

🎉 Goca v1.13.3

Go Clean Architecture Code Generator

🚀 Quick Installation

Using Go install:

go install github.com/sazardev/goca@v1.13.3

Download Binary:

Windows (64-bit):

  • Download goca-windows-amd64.exe
  • Rename to goca.exe and add to your PATH

Linux (64-bit):

wget https://github.com/sazardev/goca/releases/download/v1.13.3/goca-linux-amd64
chmod +x goca-linux-amd64
sudo mv goca-linux-amd64 /usr/local/bin/goca

macOS:

# Intel Macs
wget https://github.com/sazardev/goca/releases/download/v1.13.3/goca-darwin-amd64
chmod +x goca-darwin-amd64
sudo mv goca-darwin-amd64 /usr/local/bin/goca

# Apple Silicon Macs
wget https://github.com/sazardev/goca/releases/download/v1.13.3/goca-darwin-arm64
chmod +x goca-darwin-arm64
sudo mv goca-darwin-arm64 /usr/local/bin/goca

🛠️ Quick Start

# Initialize a new project
goca init myproject --module github.com/user/myproject

# Generate a complete feature
goca feature User --fields "name:string,email:string,age:int"

# Check version
goca version

📋 What's Included

  • ✅ Project initialization with Clean Architecture
  • ✅ Entity, UseCase, Repository, Handler generation
  • ✅ Multi-protocol support (HTTP, gRPC, CLI, Worker, SOAP)
  • ✅ Multi-database support (PostgreSQL, MySQL, MongoDB)
  • ✅ Complete feature generation
  • ✅ Dependency injection setup

🔗 Links

Verify your download:
Check the checksums.txt file to verify the integrity of your download.

Goca v1.10.10

11 Oct 22:24

Choose a tag to compare

🎉 Goca v1.10.10

Go Clean Architecture Code Generator

🚀 Quick Installation

Using Go install:

go install github.com/sazardev/goca@v1.10.10

Download Binary:

Windows (64-bit):

  • Download goca-windows-amd64.exe
  • Rename to goca.exe and add to your PATH

Linux (64-bit):

wget https://github.com/sazardev/goca/releases/download/v1.10.10/goca-linux-amd64
chmod +x goca-linux-amd64
sudo mv goca-linux-amd64 /usr/local/bin/goca

macOS:

# Intel Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.10/goca-darwin-amd64
chmod +x goca-darwin-amd64
sudo mv goca-darwin-amd64 /usr/local/bin/goca

# Apple Silicon Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.10/goca-darwin-arm64
chmod +x goca-darwin-arm64
sudo mv goca-darwin-arm64 /usr/local/bin/goca

🛠️ Quick Start

# Initialize a new project
goca init myproject --module github.com/user/myproject

# Generate a complete feature
goca feature User --fields "name:string,email:string,age:int"

# Check version
goca version

📋 What's Included

  • ✅ Project initialization with Clean Architecture
  • ✅ Entity, UseCase, Repository, Handler generation
  • ✅ Multi-protocol support (HTTP, gRPC, CLI, Worker, SOAP)
  • ✅ Multi-database support (PostgreSQL, MySQL, MongoDB)
  • ✅ Complete feature generation
  • ✅ Dependency injection setup

🔗 Links

Verify your download:
Check the checksums.txt file to verify the integrity of your download.

Goca v1.10.9

11 Oct 21:34

Choose a tag to compare

🎉 Goca v1.10.9

Go Clean Architecture Code Generator

🚀 Quick Installation

Using Go install:

go install github.com/sazardev/goca@v1.10.9

Download Binary:

Windows (64-bit):

  • Download goca-windows-amd64.exe
  • Rename to goca.exe and add to your PATH

Linux (64-bit):

wget https://github.com/sazardev/goca/releases/download/v1.10.9/goca-linux-amd64
chmod +x goca-linux-amd64
sudo mv goca-linux-amd64 /usr/local/bin/goca

macOS:

# Intel Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.9/goca-darwin-amd64
chmod +x goca-darwin-amd64
sudo mv goca-darwin-amd64 /usr/local/bin/goca

# Apple Silicon Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.9/goca-darwin-arm64
chmod +x goca-darwin-arm64
sudo mv goca-darwin-arm64 /usr/local/bin/goca

🛠️ Quick Start

# Initialize a new project
goca init myproject --module github.com/user/myproject

# Generate a complete feature
goca feature User --fields "name:string,email:string,age:int"

# Check version
goca version

📋 What's Included

  • ✅ Project initialization with Clean Architecture
  • ✅ Entity, UseCase, Repository, Handler generation
  • ✅ Multi-protocol support (HTTP, gRPC, CLI, Worker, SOAP)
  • ✅ Multi-database support (PostgreSQL, MySQL, MongoDB)
  • ✅ Complete feature generation
  • ✅ Dependency injection setup

🔗 Links

Verify your download:
Check the checksums.txt file to verify the integrity of your download.

Goca v1.10.7

11 Oct 21:25

Choose a tag to compare

🎉 Goca v1.10.7

Go Clean Architecture Code Generator

🚀 Quick Installation

Using Go install:

go install github.com/sazardev/goca@v1.10.7

Download Binary:

Windows (64-bit):

  • Download goca-windows-amd64.exe
  • Rename to goca.exe and add to your PATH

Linux (64-bit):

wget https://github.com/sazardev/goca/releases/download/v1.10.7/goca-linux-amd64
chmod +x goca-linux-amd64
sudo mv goca-linux-amd64 /usr/local/bin/goca

macOS:

# Intel Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.7/goca-darwin-amd64
chmod +x goca-darwin-amd64
sudo mv goca-darwin-amd64 /usr/local/bin/goca

# Apple Silicon Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.7/goca-darwin-arm64
chmod +x goca-darwin-arm64
sudo mv goca-darwin-arm64 /usr/local/bin/goca

🛠️ Quick Start

# Initialize a new project
goca init myproject --module github.com/user/myproject

# Generate a complete feature
goca feature User --fields "name:string,email:string,age:int"

# Check version
goca version

📋 What's Included

  • ✅ Project initialization with Clean Architecture
  • ✅ Entity, UseCase, Repository, Handler generation
  • ✅ Multi-protocol support (HTTP, gRPC, CLI, Worker, SOAP)
  • ✅ Multi-database support (PostgreSQL, MySQL, MongoDB)
  • ✅ Complete feature generation
  • ✅ Dependency injection setup

🔗 Links

Verify your download:
Check the checksums.txt file to verify the integrity of your download.

Goca v1.10.3

11 Oct 21:14

Choose a tag to compare

🎉 Goca v1.10.3

Go Clean Architecture Code Generator

🚀 Quick Installation

Using Go install:

go install github.com/sazardev/goca@v1.10.3

Download Binary:

Windows (64-bit):

  • Download goca-windows-amd64.exe
  • Rename to goca.exe and add to your PATH

Linux (64-bit):

wget https://github.com/sazardev/goca/releases/download/v1.10.3/goca-linux-amd64
chmod +x goca-linux-amd64
sudo mv goca-linux-amd64 /usr/local/bin/goca

macOS:

# Intel Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.3/goca-darwin-amd64
chmod +x goca-darwin-amd64
sudo mv goca-darwin-amd64 /usr/local/bin/goca

# Apple Silicon Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.3/goca-darwin-arm64
chmod +x goca-darwin-arm64
sudo mv goca-darwin-arm64 /usr/local/bin/goca

🛠️ Quick Start

# Initialize a new project
goca init myproject --module github.com/user/myproject

# Generate a complete feature
goca feature User --fields "name:string,email:string,age:int"

# Check version
goca version

📋 What's Included

  • ✅ Project initialization with Clean Architecture
  • ✅ Entity, UseCase, Repository, Handler generation
  • ✅ Multi-protocol support (HTTP, gRPC, CLI, Worker, SOAP)
  • ✅ Multi-database support (PostgreSQL, MySQL, MongoDB)
  • ✅ Complete feature generation
  • ✅ Dependency injection setup

🔗 Links

Verify your download:
Check the checksums.txt file to verify the integrity of your download.

Goca v1.10.2

11 Oct 20:38

Choose a tag to compare

🎉 Goca v1.10.2

Go Clean Architecture Code Generator

🚀 Quick Installation

Using Go install:

go install github.com/sazardev/goca@v1.10.2

Download Binary:

Windows (64-bit):

  • Download goca-windows-amd64.exe
  • Rename to goca.exe and add to your PATH

Linux (64-bit):

wget https://github.com/sazardev/goca/releases/download/v1.10.2/goca-linux-amd64
chmod +x goca-linux-amd64
sudo mv goca-linux-amd64 /usr/local/bin/goca

macOS:

# Intel Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.2/goca-darwin-amd64
chmod +x goca-darwin-amd64
sudo mv goca-darwin-amd64 /usr/local/bin/goca

# Apple Silicon Macs
wget https://github.com/sazardev/goca/releases/download/v1.10.2/goca-darwin-arm64
chmod +x goca-darwin-arm64
sudo mv goca-darwin-arm64 /usr/local/bin/goca

🛠️ Quick Start

# Initialize a new project
goca init myproject --module github.com/user/myproject

# Generate a complete feature
goca feature User --fields "name:string,email:string,age:int"

# Check version
goca version

📋 What's Included

  • ✅ Project initialization with Clean Architecture
  • ✅ Entity, UseCase, Repository, Handler generation
  • ✅ Multi-protocol support (HTTP, gRPC, CLI, Worker, SOAP)
  • ✅ Multi-database support (PostgreSQL, MySQL, MongoDB)
  • ✅ Complete feature generation
  • ✅ Dependency injection setup

🔗 Links

Verify your download:
Check the checksums.txt file to verify the integrity of your download.

v1.8.1

30 Sep 22:19

Choose a tag to compare

Full Changelog: v1.8.0...v1.8.1