Skip to content

Commit 2080f40

Browse files
committedJul 3, 2024··
doc: add plugin guides link to README
1 parent af05ae0 commit 2080f40

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed
 

‎README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,13 @@ end
195195
`TypedStructor` offers a plugin system to enhance functionality.
196196
For 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
200200
defmodule 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()
@@ -212,3 +212,9 @@ end
212212
user = %User{id: 1, name: "Phil", age: 20}
213213
get_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.

0 commit comments

Comments
 (0)
Please sign in to comment.