Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
honza
/
vim-snippets
Public
Notifications
You must be signed in to change notification settings
Fork
2k
Star
4.9k
Code
Issues
56
Pull requests
28
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Commits
Breadcrumbs
History for
vim-snippets
snippets
go.snippets
on
master
User selector
All users
Datepicker
All time
Commit History
Commits on May 29, 2024
fix: go: st and inf generated non-compilable code
Andrei Eremeev
authored and
lpil
committed
a1f605c
Copy full SHA for a1f605c
Commits on Sep 7, 2022
Remove unnecessary placeholder text
amarz45
authored and
lpil
committed
2058ac6
Copy full SHA for 2058ac6
Commits on Oct 7, 2021
feat(go): update error wrap snippet
b4nst
authored and
lpil
committed
be519f7
Copy full SHA for be519f7
Commits on Aug 30, 2020
Correct typo in go.snippets
abatilo
authored and
lpil
committed
c609efe
Copy full SHA for c609efe
Commits on Oct 18, 2019
Golang syntax error
lpil
committed
36dcd28
Copy full SHA for 36dcd28
Commits on Sep 19, 2019
Add go table test
Show description for db67e54
blacksails
authored and
lpil
committed
db67e54
Copy full SHA for db67e54
Commits on Jul 19, 2019
Remove overly common trigger go snippet
lpil
committed
84ab7e1
Copy full SHA for 84ab7e1
Remove overly common trigger go snippet
lpil
committed
23869ac
Copy full SHA for 23869ac
Commits on Sep 25, 2018
Turn comments into descriptions for go.snippets
letientai299
authored and
lpil
committed
b51c011
Copy full SHA for b51c011
Commits on Sep 17, 2018
Add error handling snippet for Go using errors.Wrap()
Patryk Małek
authored and
lpil
committed
b0c528e
Copy full SHA for b0c528e
Commits on Apr 18, 2018
Add a go snippet for HTTP handler methods
Show description for 4e4d080
crdueck
authored and
lpil
committed
4e4d080
Copy full SHA for 4e4d080
Commits on Jul 4, 2017
GO: Json marshalable object
Show description for 87bd8e4
I159
authored and
lpil
committed
87bd8e4
Copy full SHA for 87bd8e4
Commits on Jun 8, 2017
GO: Anonymous struct global variables
I159
authored and
lpil
committed
5b7b743
Copy full SHA for 5b7b743
If key in a map. Go snippet.
I159
authored and
lpil
committed
82629a4
Copy full SHA for 82629a4
Go composite literal snippet.
I159
authored and
lpil
committed
60a9bd6
Copy full SHA for 60a9bd6
Commits on Jan 31, 2017
Update snippets for things like if, wh, try to leverage ${VISUAL}
codeinabox
authored and
lpil
committed
036e588
Copy full SHA for 036e588
Commits on Jul 26, 2016
added println snipped for go
binaryplease
committed
4809c17
Copy full SHA for 4809c17
Commits on Mar 6, 2016
Go ife
lpil
committed
aff4e78
Copy full SHA for aff4e78
Commits on Mar 3, 2016
Go: Endless for loop
lpil
committed
e20b77d
Copy full SHA for e20b77d
Reduce duplication in Go
lpil
committed
83d331f
Copy full SHA for 83d331f
Commits on Dec 28, 2014
Added package snippet for Go
Gustavo Chain
committed
60be562
Copy full SHA for 60be562
Commits on Nov 26, 2014
Add receiver to fum snippet
Gustavo Chain
committed
4c988d2
Copy full SHA for 4c988d2
Commits on May 18, 2014
description after trigger
tebeka
committed
9548538
Copy full SHA for 9548538
Better name
tebeka
committed
fb0a6fc
Copy full SHA for fb0a6fc
Commits on May 17, 2014
Snippets for Go test and benchmark functions
tebeka
committed
84d9764
Copy full SHA for 84d9764
Commits on Oct 27, 2013
Refactor variable snippets
Show description for 54ca21a
Simeon F. Willbanks
committed
54ca21a
Copy full SHA for 54ca21a
Remove duplicate "v" snippet
Simeon F. Willbanks
committed
deffc63
Copy full SHA for deffc63
Commits on Sep 5, 2013
Modify snippets to support zero tabstop
ajzafar
committed
7f9c4f5
Copy full SHA for 7f9c4f5
Commits on Aug 21, 2013
Add snippets for declaring and initializing a single variable, both longhand and shorthand.
Simeon F. Willbanks
committed
481f74b
Copy full SHA for 481f74b
Commits on Jul 26, 2013
Add Go snippets for invoking named and anonymous functions in goroutines
Simeon F. Willbanks
committed
e688bfe
Copy full SHA for e688bfe
Commits on Jul 17, 2013
Refactor go Snipmate snippet "if", so you can tab into if block body
Simeon F. Willbanks
committed
9c2cfdd
Copy full SHA for 9c2cfdd
Commits on Jun 20, 2013
Removed unnecessary whitespace from the end of the line
Michael Thessel
authored and
MarcWeber
committed
5da33b7
Copy full SHA for 5da33b7
Removed comment blocks from placeholders
Michael Thessel
authored and
MarcWeber
committed
4eb88d7
Copy full SHA for 4eb88d7
Commits on Mar 23, 2013
Turn = into :=
gmile
committed
62ac466
Copy full SHA for 62ac466
Commits on Mar 17, 2013
fix FSF address
Show description for da5894a
mockturtl
authored and
MarcWeber
committed
da5894a
Copy full SHA for da5894a
Pagination
Previous
Next
You can’t perform that action at this time.