Reformat with tabs

This commit is contained in:
Huy-Ngo 2020-10-29 22:45:01 +07:00
parent 4947a522e7
commit 9ea7fc433e
1 changed files with 4 additions and 4 deletions

View File

@ -92,10 +92,10 @@ func ParseUsages(json map[string]interface{}) (usages []Usage) {
}
func main() {
if len(os.Args) == 1 {
panic("You must be looking for some word")
}
word := os.Args[1]
if len(os.Args) == 1 {
panic("You must be looking for some word")
}
word := os.Args[1]
response, err := http.Get("https://en.wiktionary.org/api/rest_v1/page/definition/" + word)
if err != nil {