From f0adedb62ffde47099368c21177d264a6ac274b0 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Sat, 23 Dec 2023 13:11:15 +0800 Subject: [PATCH] Update write plugin --- pages/docs/write_plugins.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pages/docs/write_plugins.md b/pages/docs/write_plugins.md index 53975aeedde..d9d53e70d7c 100644 --- a/pages/docs/write_plugins.md +++ b/pages/docs/write_plugins.md @@ -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 @@ -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.