parsley v0.8.2
Pre-releaseThis release introduces the parsley-cli
utility to extend the library's capabilities beyond what reflection alone can achieve and to outpace the limitations of the statically typed language. This version focuses on empowering developers with new tools for code generation, particularly around proxy and decorator patterns.
Changes
New CLI Tool: This version introduces parsley-cli
, a powerful command-line utility designed to enhance the Parsley ecosystem. With this tool, developers can generate code that integrates seamlessly with Parsley’s dependency injection framework.
-
init
Command: Theinit
command bootstraps a new Parsley application, generating essential files such asmain.go
andapplication.go
. These files provide the minimum setup required to kick-start a dependency injection-enabled application. -
generate proxy
Command: Thegenerate proxy
command allows developers to create proxy types that can be extended viaMethodInterceptor
objects. These generated proxies can serve as powerful tools for implementing cross-cutting concerns like logging, monitoring, or transaction management in a clean and modular way.