Yasuhiro Matsumoto
03d6ad420f
fix: resolve merge conflicts in wecom error handling
...
Combine both shadow variable fix (readErr) and proper error
classification (ClassifySendError) in wecom app and bot channels.
2026-03-05 22:01:32 +09:00
Yasuhiro Matsumoto
b878272962
fix: resolve govet shadow and golines lint errors in wecom channels
2026-03-05 21:54:13 +09:00
mattn and Copilot
42a32fbf3b
Update pkg/channels/wecom/app.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-05 21:20:51 +09:00
mattn and Copilot
ee2ebc8bf3
Update pkg/channels/wecom/app.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-05 21:20:40 +09:00
mattn and Copilot
ca4e44bd0f
Update pkg/channels/wecom/bot.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-05 21:20:31 +09:00
mattn and Copilot
8d2f2d67b2
Update pkg/channels/line/line.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-05 21:20:20 +09:00
Yasuhiro Matsumoto
943385105f
fix: handle ignored io.ReadAll errors across codebase
...
io.ReadAll errors were silently discarded with `body, _ := io.ReadAll(...)`,
which could cause empty or partial data to be used for JSON unmarshaling
or error messages. This adds proper error checks for all instances.
2026-03-05 20:56:38 +09:00
mattn and Amp
8a1fb03974
Perf/precompile regex ( #687 )
...
* perf: pre-compile regexes at package level
Move regexp.MustCompile calls from inside methods to package-level
variables in web.go (7 regexes) and loader.go (2 regexes).
This avoids repeated compilation on every invocation.
Amp-Thread-ID: https://ampcode.com/threads/T-019c79c3-ea1c-7471-b09d-be90ba0e1ca0
Co-authored-by: Amp <amp@ampcode.com >
* perf: pre-compile regexes at package level
* retain the helpful comment
---------
Co-authored-by: Amp <amp@ampcode.com >
2026-02-26 20:44:03 +11:00
mattn
6fe3920a4d
perf: refactoring collecting skills ( #688 )
...
* perf: refactoring collecting skills
* Fix order to store dir.Name()
* Add tests
2026-02-24 10:07:09 +11:00
Yasuhiro Matsumoto
df49f6698a
Fix
2026-02-20 20:48:43 +09:00
Yasuhiro Matsumoto
bca92433ba
Use strings.Builder instead of += concatenation in loops
2026-02-20 20:09:13 +09:00
mattn
e8afd31b28
Replace \s+ with [^\S\n]+ to preserve newlines ( #299 )
2026-02-19 02:02:28 +01:00
Yasuhiro Matsumoto
5772b9241b
Better nuance
2026-02-17 08:25:21 +09:00
Yasuhiro Matsumoto
852d361eb0
Add new provider cerebras
2026-02-17 08:23:44 +09:00
mattn
a371d53438
Prevent panic on publish after MessageBus is closed ( #223 )
2026-02-16 15:04:25 +08:00
mattn
1d748fb742
Remove duplicate file extension in DownloadFile ( #230 )
2026-02-16 02:20:20 +08:00
Yasuhiro Matsumoto
7ce5b75178
Fix shadowing field runnnig
2026-02-16 00:47:17 +09:00
Yasuhiro Matsumoto
97bf4ff3fd
Fix Japanese translation
2026-02-15 23:56:13 +09:00