examples: make examples testable

This commit is contained in:
Ariel Mashraki
2019-12-09 09:05:05 +02:00
parent 754a8c9daa
commit ef7a1ed300
19 changed files with 129 additions and 31 deletions

View File

@@ -8,3 +8,9 @@ Each user can **have many** friends. If user A becomes a friend of B, B is also
```console
go generate ./...
```
### Run Example
```console
go test
```