fix(ci): fix lint errors and pin CI to Go 1.25

- Run gofmt on all files
- Export SetupUPnP to fix unused lint error
- Remove Go 1.26 from CI matrix (only test with 1.25)
This commit is contained in:
Deivid Soto 2026-03-31 22:15:12 +02:00
parent 3e0f3a5a64
commit d0dbfc3d12
10 changed files with 31 additions and 31 deletions

View file

@ -275,7 +275,7 @@ func TestFormatTimeAgo(t *testing.T) {
now := time.Now()
tests := []struct {
name string
name string
input string
want string
}{
@ -356,6 +356,6 @@ func TestPtr(t *testing.T) {
}
}
func ptr[T any](v T) *T { return &v }
func intPtr(v int) *int { return &v }
func ptr[T any](v T) *T { return &v }
func intPtr(v int) *int { return &v }
func strPtr(v string) *string { return &v }