Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code snippets package main with init, main function #1599

Closed
Ja7ad opened this issue Jun 29, 2021 · 1 comment
Closed

code snippets package main with init, main function #1599

Ja7ad opened this issue Jun 29, 2021 · 1 comment

Comments

@Ja7ad
Copy link

Ja7ad commented Jun 29, 2021

snippets for package main with init, main function

"package main and init, main function": {
	"prefix": "pkgmi",
	"body": "package main\n\nfunc init() {\n\t$0\n}\nfunc main() {\n\t$1\n}",
	"description": "Snippet for main package & init, main function"
}
@gopherbot gopherbot added this to the Untriaged milestone Jun 29, 2021
@stamblerre
Copy link
Contributor

Thank you for this suggestion. We aren't currently adding new snippets to this extension (see #160), but you can continue to use this snippet through VS Code's custom snippets support: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets. Sorry about the inconvenience!

@golang golang locked and limited conversation to collaborators Jun 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants