Skip to content

Commit

Permalink
add installation command to readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Insei authored May 31, 2024
1 parent 7211d05 commit eea42bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@ it is important that not only the field names match, but also their types.
This mode also supports structures in structure fields and automatically works by matching field names.
It's based on [fmap](https://github.com/insei/fmap) switch case and reflect based library.


Both modes are route based. In which the reflect.Type of the source structure and the type of the destination structure
are specified. If such a route was not found, gomapper will return an error.

Also `gomapper` support slices, you don't need to specify types of slices for mapping.

## Installation

```bash
go get github.com/insei/gomapper@latest
```

## Examples
You can found a lot of examples in tests.<br>
Manual route.
Expand Down

0 comments on commit eea42bf

Please sign in to comment.