Skip to content

Commit

Permalink
Adds InterfaceNameLower to docs
Browse files Browse the repository at this point in the history
Signed-off-by: hohmannr <raphael.hohmann@tuta.io>
  • Loading branch information
hohmannr committed Jul 11, 2023
1 parent 5e1ff90 commit ffc7a42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ Variables that are marked as being templated are capable of using mockery-provid
| InterfaceNameCamel | Converts a string `interface_name` to `InterfaceName` |
| InterfaceNameLowerCamel | Converts `InterfaceName` to `interfaceName` |
| InterfaceNameSnake | Converts `InterfaceName` to `interface_name` |
| InterfaceNameLower | Converts `InterfaceName` to `interfacename` |
| Mock | A string that is `Mock` if the interface is exported, or `mock` if it is not exported. Useful when setting the name of your mock to something like: <br>`#!yaml mockname: "{{.Mock}}{{.InterfaceName}}"`<br> This way, the mock name will retain the exported-ness of the original interface.
| MockName | The name of the mock that will be generated. Note that this is simply the `mockname` configuration variable |
| PackageName | The name of the package from the original interface |
Expand Down

0 comments on commit ffc7a42

Please sign in to comment.