Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfmin authored Jan 25, 2018
1 parent 6ca63cf commit 26ae793
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ We intentionally limiting the package exposing API as Go interface for these rea
- __Easy to mock__: Other packages can easily pass in `mock` package instance of the package, when they don't want to test your packages implementation.
- __Easy to test__: write tests for all functions defined in `api.go`

#### Use decoration to extend features example
Say with the above `CheckoutService` for example, we want to validate the Address before call `ShippingAddressUpdate` and after call it we send an email to the user to notify the change, We can do:

```go
Expand Down

0 comments on commit 26ae793

Please sign in to comment.