Skip to content

v1.0.0

Compare
Choose a tag to compare
@limpo1989 limpo1989 released this 27 Oct 11:06
· 40 commits to master since this release

We are excited to announce the first release of a new framework inspired by Java's Spring, designed specifically for Golang - Go-Spring v1.0.0. This version is committed to making the development and management of Golang projects more effortless and introduces a suite of powerful features.

Features

  • IoC Container: Implements an inversion of control (IoC) container based on reflection, supporting the injection of structs, functions, and constants. This means you can use the autowired tag to automatically inject dependencies without having to manage them manually.
  • Flexible Configuration Management: Taking inspiration from Spring's @value annotation, Go-Spring allows you to fetch configuration items from multiple sources (such as environment variables, files, command-line arguments, etc.). This brings unprecedented flexibility in configuration management.
  • Validator Extension for Configuration: Extends its robust configuration management capabilities with support for custom validator extensions. This enables you to perform validity checks on properties, ensuring only valid configurations are applied to your application.
  • Logger Based on Standard slog: Provides built-in logger support using the standard library slog for effective and streamlined logging. This enhancement offers clear, concise, and well-structured logging information that aids in system debugging and performance monitoring.
  • Dynamic Property Refreshing: Provides dynamic property refreshing which lets you update the application properties on-the-fly without needing to reboot your application. It caters to the needs of applications that require high availability and real-time responsiveness.
  • Dependency Ordered Application Events: Ensures the correct notification of initialization and destruction events according to the lifecycle of objects, following the order of bean dependencies. This enhances the robustness and reliability of the system during its lifecycle operations.

Finally, we would like to extend our deepest gratitude to the original initiator of the project, lvan100. His passion, dedication, and innovative ideas laid the solid foundation upon which Go-Spring is built. This milestone would not have been possible without his significant contributions.

We appreciate your support for Go-Spring and welcome feedback and suggestions!