Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
doc: update reflect mode
Browse files Browse the repository at this point in the history
  • Loading branch information
XSAM committed Jan 18, 2020
1 parent a8ef02f commit 17ebec6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,15 @@ that uses reflection to understand interfaces. It is enabled
by passing two non-flag arguments: an import path, and a
comma-separated list of symbols.

You can use "." to refer to the current path's package.

Example:

```bash
mockgen database/sql/driver Conn,Driver

# Convenient for `go:generate`.
mockgen . Conn,Driver
```

The `mockgen` command is used to generate source code for a mock
Expand Down

0 comments on commit 17ebec6

Please sign in to comment.