Parsley v1.3.3
  • GitHub Repo
  • Issues
Powered by
  1. /
  2. Categories /
  3. Advanced Features

Category: Advanced Features

See all categories.

Parsley CLI • Registration • Advanced Features
Advanced Dependency Injection With Generated Proxies

The Parsley CLI introduces a powerful feature for advanced dependency injection through its generate proxy command. This command, combined with //go:generate annotations, automatically generates proxy services and interfaces for your service contracts.

Parsley CLI • Advanced Features
Mocking Made Easy with Parsley

In version v0.9 of Parsley, a powerful new feature is introduced: the generate mocks CLI command. This command generates configurable mock implementations from your service interfaces, making testing faster and more efficient. In this article, you learn how to use this feature to generate mock objects for interfaces, configure their behavior, and assert expectations for method calls in tests. It also showcases a real-world example of integrating these mocks into your Go test suites.

  • License Apache 2.0

© Copyright 2026 - Matthias Friedrich. All rights reserved.