| Age | Commit message (Collapse) | Author |
|
**🌼 all: fix logging in client tests**
**💧 all: replace golangci-lint with internal linter**
The internal/cmd/gocheck use the go static analysis [Analyzer] that are
not included in the default go vet.
By using gocheck we found un-alignment and shadowing,
* client.go:18:13: struct with 24 pointer bytes could be 16
* dictionary.go:23:17: struct with 32 pointer bytes could be 16
* client_test.go:18:13: struct with 56 pointer bytes could be 48
* client_test.go:62:13: struct with 56 pointer bytes could be 48
* cmd/kamusku-telegram-bot/main.go:31:3: declaration of "err" shadows
declaration at line 25
* kamusku_test.go:49:3: declaration of "err" shadows declaration at
line 38
[Analyzer]: https://pkg.go.dev/golang.org/x/tools/go/analysis#hdr-Analyzer
**💧 README: add section about development and license**
**💧 all: fix test due to missing testdata directory**
|
|
|
|
For the reason why we choose GPL v3 see
https://kilabit.info/journal/2022/gpl/.
While at it, we make the project comply with REUSE Specification
version 3.0.
|
|
The "share" module has been moved to new forge, SourceHut, with new name
"pakakeh.go".
|
|
This commit move the directClient to different repository called kamusku
and changes the module name from kamusku to kamusd.
|
|
|
|
Deploying to App Engine require the port to be initialized through
environment variable PORT.
|
|
|
|
When creating new client, the directClient will autoload cookies in
predefined location.
If Login is called, the cookies will autosave directly to predefined
location.
This will allow the server to use authenticated directClient to mitigate
the limit on KBBI official server.
|
|
Disebabkan server www-kbbi sekarang melayani tautan ke program, maka
server tidak men-generate berkas static.go lagi, namun konten dari
situs di salin langsung ke server.
|
|
The content page show the definition and capabilities of the API.
|
|
|
|
|
|
Currently the server and client can onyl handle API for looking up
definitions of the words through "/api/definisi" URL.
|