Skip to content

Instantly share code, notes, and snippets.

View paulja's full-sized avatar
💭
Gophering... 💻

Paul Jackson paulja

💭
Gophering... 💻
View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 9, 2026 01:34
Conventional Commits Cheatsheet
@GimmyHchs
GimmyHchs / slice_tricks.md
Last active November 9, 2025 14:11
[Go SliceTricks] golang slice tricks #go

Since the introduction of the append built-in, most of the functionality of the container/vector package, which was removed in Go 1, can be replicated using append and copy.

Here are the vector methods and their slice-manipulation analogues:

AppendVector

a = append(a, b...)

Copy