Skip to content

feat: replace go-linq with the standard library - #48

Merged
alexbell708 merged 1 commit into
masterfrom
refactor/remove_go_linq
Oct 19, 2026
Merged

alexbell708 merged 1 commit into
masterfrom
refactor/remove_go_linq

Conversation

@alexbell708

Copy link
Copy Markdown
Contributor

go-linq v5 is a breaking rewrite that needs Go 1.27, and aws-ssh only used it to sort, filter and group instances.

  • extract processProfileSummary out of TraverseProfiles
  • add sortInstances, groupInstances and filterInstances using cmp and slices
  • drop go-linq from go.mod
  • add tests covering instance grouping, bastion selection, naming and ordering

Groups now come out in first-seen order instead of random map order. The generated ssh entries are unchanged, as they are sorted by name at the end.

@alexbell708
alexbell708 merged commit 759830f into master Oct 19, 2026
2 checks passed
@alexbell708
alexbell708 deleted the refactor/remove_go_linq branch October 19, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant