Skip to content

Commit

Permalink
Update write plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Dec 23, 2023
1 parent 0f16b3d commit f0adedb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pages/docs/write_plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ GORM comes with a set of predefined callbacks that drive its standard features.

## Plugins

GORM's plugin system allows for the extension and customization of its core functionalities. Plugins in GORM are integrated using the `Use` method and must conform to the `Plugin` interface.
GORM's plugin system allows for easy extensibility and customization of its core functionalities, enhancing your application's capabilities while maintaining a modular architecture.

### The `Plugin` Interface

Expand Down Expand Up @@ -164,9 +164,3 @@ db.Use(prometheus.New(prometheus.Config{
```

[Prometheus plugin documentation](prometheus.html) provides detailed information on its implementation and usage.

### Benefits of Using Plugins

- **Extensibility**: Plugins offer a way to enhance GORM's capabilities without modifying its core code.
- **Customization**: They enable customization of GORM's behavior to fit specific application requirements.
- **Modularity**: Plugins promote a modular architecture, making it easier to maintain and update different aspects of the application.

0 comments on commit f0adedb

Please sign in to comment.