Go 1.26 baseline, golangci-lint, dependency updates (#593)

* Go 1.26 baseline, golangci-lint, dependency updates

- Go baseline is now 1.26 (`go.mod`); CI tests the two newest majors, 1.26 and 1.27 (previously 1.23-1.25).
- Replaces the separate gofmt/vet/staticcheck/ineffassign/predeclared Makefile targets (and the unused golint/errcheck ones) with a single pinned `golangci-lint` v2 (`make lint`), configured in `.golangci.yml` to run the same checks.
- `go get -u -t ./... && go mod tidy`.
- Release workflow and Dockerfile now build with Go 1.27 (newest), while `go.mod` keeps 1.26 as the oldest supported version.
- Lint fixes: none needed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Regenerate protos and reformat with Go 1.27

Go 1.27's gofmt reformats doc comments in generated code, and CI's
checkgenerate runs on 1.27.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Scott Blum
2026-11-19 14:24:46 -05:00
committed by GitHub
parent bcfae43127
commit f5c25e012b
9 changed files with 85 additions and 158 deletions
-2
View File
@@ -692,12 +692,10 @@ type TransferRequest struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Source:
//
// *TransferRequest_SourceAccountNumber
// *TransferRequest_ExternalSource
Source isTransferRequest_Source `protobuf_oneof:"source"`
// Types that are assignable to Dest:
//
// *TransferRequest_DestAccountNumber
// *TransferRequest_ExternalDest
Dest isTransferRequest_Dest `protobuf_oneof:"dest"`
@@ -75,7 +75,6 @@ type ChatCustomerRequest struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Req:
//
// *ChatCustomerRequest_Init
// *ChatCustomerRequest_Msg
// *ChatCustomerRequest_HangUp
@@ -283,7 +282,6 @@ type ChatCustomerResponse struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Resp:
//
// *ChatCustomerResponse_Session
// *ChatCustomerResponse_Msg
Resp isChatCustomerResponse_Resp `protobuf_oneof:"resp"`
@@ -369,7 +367,6 @@ type ChatAgentRequest struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Req:
//
// *ChatAgentRequest_Accept
// *ChatAgentRequest_Msg
// *ChatAgentRequest_LeaveSession
@@ -523,7 +520,6 @@ type ChatEntry struct {
Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
// Types that are assignable to Entry:
//
// *ChatEntry_CustomerMsg
// *ChatEntry_AgentMsg
Entry isChatEntry_Entry `protobuf_oneof:"entry"`
@@ -611,7 +607,6 @@ type ChatAgentResponse struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Resp:
//
// *ChatAgentResponse_AcceptedSession
// *ChatAgentResponse_Msg
// *ChatAgentResponse_SessionEnded