MCPcopy Create free account
hub / github.com/goinaction/code / Result

Struct Result

chapter7/patterns/search/search.go:8–13  ·  view source on GitHub ↗

Result represents a search result that was found.

Source from the content-addressed store, hash-verified

6
7// Result represents a search result that was found.
8type Result struct {
9 Engine string
10 Title string
11 Description string
12 Link string
13}
14
15// Searcher declares an interface used to leverage different
16// search engines to find results.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected