aboutsummaryrefslogtreecommitdiff
path: root/definisi_response.go
diff options
context:
space:
mode:
Diffstat (limited to 'definisi_response.go')
-rw-r--r--definisi_response.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/definisi_response.go b/definisi_response.go
new file mode 100644
index 0000000..b7376aa
--- /dev/null
+++ b/definisi_response.go
@@ -0,0 +1,11 @@
+// Copyright 2020, Shulhan <m.shulhan@gmail.com>. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package kbbi
+
+//
+// DefinisiResponse is a response from "/definisi" API.
+// Its contains mapping of words and their definitions.
+//
+type DefinisiResponse map[string]Kata