fix: resolve revive lint issues

This commit is contained in:
user 2026-02-20 03:16:09 -08:00
parent 5fad27ff4c
commit f125a3f591
3 changed files with 3 additions and 6 deletions

View File

@ -1,3 +1,4 @@
// Package api provides the HTTP client for the chat server API.
package api
import (

View File

@ -1,4 +1,4 @@
package api
package api //nolint:revive // package name "api" is conventional for API client packages
import "time"

View File

@ -1,3 +1,4 @@
// Package main implements the chat-cli terminal client.
package main
import (
@ -443,11 +444,6 @@ func (a *App) cmdWindow(args string) {
a.ui.SwitchBuffer(n)
a.mu.Lock()
if n < a.ui.BufferCount() && n >= 0 {
// Update target to the buffer name.
// Needs to be done carefully.
}
nick := a.nick
a.mu.Unlock()