update usage
This commit is contained in:
parent
c90b724307
commit
ad0235c778
2
main.go
2
main.go
@ -13,7 +13,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const url = "http://api.urbandictionary.com/v0/define?term="
|
const url = "http://api.urbandictionary.com/v0/define?term="
|
||||||
const usage = "ud <term>"
|
const usage = "ud: search for term on urban dictionary\n\nusage: ud <term>\n"
|
||||||
|
|
||||||
type response struct {
|
type response struct {
|
||||||
Results []result `json:"list"`
|
Results []result `json:"list"`
|
||||||
|
Loading…
Reference in New Issue
Block a user