Fix all lint/build issues on main branch (closes #13) #15

Closed
clawbot wants to merge 22 commits from fix/main-lint-issues into main
3 changed files with 3 additions and 6 deletions
Showing only changes of commit f125a3f591 - Show all commits

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()