Marketplace
<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> · <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>
Meilisearch
Data & StorageMeilisearch driver.
togo-framework
bash
togo install togo-framework/search-meilisearchInstall
bash
togo install togo-framework/search-meilisearchsearch-meilisearch
A Meilisearch driver for togo full-text search.
Registers the meilisearch driver on the search plugin.
Install
sh
togo install togo-framework/search-meilisearchThen in .env:
sh
SEARCH_DRIVER=meilisearch
MEILI_HOST=https://your-instance.meilisearch.io
MEILI_API_KEY=your-key # optional for unsecured dev instances
Usage
Auto-registers on togo serve. Use the kernel search service:
go
s, _ := search.FromKernel(k)
_ = s.Index(ctx, "posts", id, map[string]any{"title": "Hello"})
hits, _ := s.Search(ctx, "posts", "hello", 10)
License
MIT
<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> · <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>