Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Golang Code ActionsNew to Visual Studio Code? Get it now.
Golang Code Actions

Golang Code Actions

NateScarlet

|
1,029 installs
| (0) | Free
extra code actions for golang (generate getter/constructor/option)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

golang-code-actions

test status

vscode marketplace

changelog

use Ctrl+. to trigger code actions.

  • [x] generate getter

    demo_getter.gif

  • [x] generate constructor

    demo_constructor.gif

  • [x] generate option

    demo_option.gif

    • [x] reuse type declaration
    • [x] reuse type alias
    • [x] indirect pointer
    • [x] use variadic function for slice
    • [x] default name to {struct}Option, but replace OptionsOption with Option
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft