remove search example

This commit is contained in:
Dominic Wong
2022-01-07 11:05:22 +00:00
parent 23efeb1b54
commit 1b6f533cda
2 changed files with 0 additions and 51 deletions

View File

@@ -1,34 +0,0 @@
# Search
An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/Search/api](https://m3o.com/Search/api).
Endpoints:
## Vote
Vote to have the Search api launched faster!
[https://m3o.com/search/api#Vote](https://m3o.com/search/api#Vote)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/search"
)
// Vote to have the Search api launched faster!
func VoteForTheApi() {
searchService := search.NewSearchService(os.Getenv("M3O_API_TOKEN"))
rsp, err := searchService.Vote(&search.VoteRequest{
Message: "Launch it!",
})
fmt.Println(rsp, err)
}
```

View File

@@ -1,17 +0,0 @@
package main
import (
"fmt"
"os"
"go.m3o.com/search"
)
// Vote to have the Search api launched faster!
func main() {
searchService := search.NewSearchService(os.Getenv("M3O_API_TOKEN"))
rsp, err := searchService.Vote(&search.VoteRequest{
Message: "Launch it!",
})
fmt.Println(rsp, err)
}