initial commit

This commit is contained in:
2024-11-08 20:51:12 -05:00
commit 98fa840f87
8 changed files with 739 additions and 0 deletions

13
pkg/search/search.go Normal file
View File

@@ -0,0 +1,13 @@
package search
import "context"
type Result struct {
Title string
URL string
Description string
}
type Search interface {
Search(ctx context.Context, query string) ([]Result, error)
}