update readme
This commit is contained in:
parent
e1db4d4c23
commit
70c5938292
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -39,6 +39,17 @@ require("gopher").setup {
|
||||||
impl = "impl",
|
impl = "impl",
|
||||||
iferr = "iferr",
|
iferr = "iferr",
|
||||||
},
|
},
|
||||||
|
gotests = {
|
||||||
|
-- gotests tag to install from
|
||||||
|
tag = "@latest",
|
||||||
|
-- gotests doesn't have template named "default" so this plugin uses "default" to set the default template
|
||||||
|
template = "default",
|
||||||
|
-- path to a directory containing custom test code templates
|
||||||
|
template_dir = nil,
|
||||||
|
-- switch table tests from using slice to map (with test name for the key)
|
||||||
|
-- works only with gotests installed from develop branch
|
||||||
|
named = false,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue