20 lines
349 B
Markdown
20 lines
349 B
Markdown
# demo
|
|
|
|
Demo greets people by name.
|
|
|
|
`import "example.com/docfixture/modules/demo"`
|
|
|
|
**Name:** A demo says hello, so the fixture has something to greet with.
|
|
|
|
## Usage
|
|
|
|
Call `demo.Hello` or build a `demo.Greeter` and call `demo.Greeter.Greet`.
|
|
|
|
See the [start guide](../../docs/guide/start.md#install).
|
|
|
|
## Testing
|
|
|
|
```sh
|
|
go test ./modules/demo
|
|
```
|