Files
summercms/internal/docsite/testdata/violations/snippet-readme-src/modules/demo
Jakub Zych 9ba5530ca7 test(11.1-07): planted fixtures and unit tests for fence, execution and name-form holes
- eighteen violation plants pin nested src=, Go aliases, unrun examples, build membership and command forms
- unit tests cover fence collection, captions, goLang, go doc -c, commandWord and Sync
2026-10-01 08:45:34 +02:00
..

demo

Demo greets people by name.

import "example.com/docfixture/modules/demo"

Usage

Call demo.Hello or build a demo.Greeter and call demo.Greeter.Greet.

See the start guide.

Testing

go test ./modules/demo
fmt.Println(demo.Hello("blog"))
// Output: Hello, blog