EchoSnippets helps developers to utilized Go Echo framework faster by generating snippets.
!echouser >> generates basic user struct
!echohello >> generates ready-to-go "Hello World" Echo app
!echocrud >> generates basic CRUD functions, middlewares and routes
!echoauth >> generates basic auth function
!echotest >> generates basic test function setups
Installation and Usage
- Install and open Visual Studio Code.
Ctrl+Shift+X (on Linux and Windows) or
Cmd+Shift+X (on macOS) to open the Extension panel.
- Find and install EchoSnippets extension. You can also find EchoSnippets at Marketplace
- Reload VS Code
- Open any
.go file in VS Code. EchoSnippets is now activated
The following additional snippets were added;
- boilerplate function for basic authentication
- snippet for basic route testing function setups
Initial release of EchoSnippets include 3 snippets:
- basic user model
- basic hello world app
- basuc crud functions, middlewares and routes