diff options
| author | Shulhan <ms@kilabit.info> | 2024-04-17 23:51:53 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-04-18 00:41:07 +0700 |
| commit | a28f1684d9b427149f7a8f03f865bdf57eafc08e (patch) | |
| tree | a9b9244afedef99490d453672dc8b56e662f90bf /telegram_bot.go | |
| parent | 51d14a2686c8ec0dbd876312dd76eec54df0d617 (diff) | |
| download | kamusku-a28f1684d9b427149f7a8f03f865bdf57eafc08e.tar.xz | |
all: rename the module to "kamusku"
Diffstat (limited to 'telegram_bot.go')
| -rw-r--r-- | telegram_bot.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telegram_bot.go b/telegram_bot.go index d3c2606..b01b66e 100644 --- a/telegram_bot.go +++ b/telegram_bot.go @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info> // SPDX-License-Identifier: GPL-3.0-or-later -package kamusd +package kamusku import ( "bytes" @@ -10,7 +10,7 @@ import ( "os" "strings" - "git.sr.ht/~shulhan/kamusku" + "git.sr.ht/~shulhan/kbbi" "git.sr.ht/~shulhan/pakakeh.go/api/telegram/bot" ) @@ -154,7 +154,7 @@ dan bebas dipakai oleh publik. } } -func formatText(wordDef kamusku.LookupResponse) string { +func formatText(wordDef kbbi.LookupResponse) string { buf := &bytes.Buffer{} for k, kata := range wordDef { fmt.Fprintf(buf, "<b>%s</b>\n", k) |
