File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,13 +195,13 @@ end
195195` TypedStructor ` offers a plugin system to enhance functionality.
196196For details on creating a plugin, refer to the ` TypedStructor.Plugin ` module.
197197
198- Here is a example of ` TypedStructor .Plugins.Accessible` plugin to define ` Access ` behavior for the struct.
198+ Here is a example of ` Guides .Plugins.Accessible` plugin to define ` Access ` behavior for the struct.
199199``` elixir
200200defmodule User do
201201 use TypedStructor
202202
203203 typed_structor do
204- plugin TypedStructor .Plugins .Accessible
204+ plugin Guides .Plugins .Accessible
205205
206206 field :id , pos_integer ()
207207 field :name , String .t ()
212212user = %User {id: 1 , name: " Phil" , age: 20 }
213213get_in (user, [:name ]) # => "Phil"
214214```
215+
216+ > #### Plugins guides {: .tip}
217+ >
218+ > Here are some [ Plugin Guides] ( guides/plugins/introduction.md )
219+ > for creating your own plugins. Please check them out
220+ > and feel free to copy-paste the code.
You can’t perform that action at this time.
0 commit comments