Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpantyukhin authored Feb 16, 2020
1 parent 3bfa271 commit 1270b9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ isMatched, mr := match.Match(42).
```

## With Structs:
- Simple check value by type
```go
val := TestStruct{1}

Expand All @@ -50,6 +51,7 @@ isMatched, _ := Match(val).
Result()
```

- Check value by type and condition
```go
val := TestStruct{1}

Expand Down

0 comments on commit 1270b9e

Please sign in to comment.