diff options
| author | Shulhan <ms@kilabit.info> | 2024-04-18 00:33:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-04-18 00:41:07 +0700 |
| commit | 1a6d02199e0d44024648c5e805f8f10d7fc4b30a (patch) | |
| tree | 34918af7ac3bcf2777ba2d9744f801a2243edb86 /active_client.go | |
| parent | a28f1684d9b427149f7a8f03f865bdf57eafc08e (diff) | |
| download | kamusku-1a6d02199e0d44024648c5e805f8f10d7fc4b30a.tar.xz | |
all: remove unused Client and activeClient
Since we now only have one client, apiClient, rename it to Client so it
can be used by other module or package later.
Diffstat (limited to 'active_client.go')
| -rw-r--r-- | active_client.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/active_client.go b/active_client.go deleted file mode 100644 index bd9f189..0000000 --- a/active_client.go +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info> -// SPDX-License-Identifier: GPL-3.0-or-later - -package kamusku - -import ( - "git.sr.ht/~shulhan/kbbi" -) - -// activeClient define an interface for an active client. -type activeClient interface { - Lookup(words []string) (res kbbi.LookupResponse, err error) - ListRootWords() (rootWords kbbi.Words, err error) -} |
