Golang SQLx File Setup
This VSCode extension helps set up Golang projects with various frameworks (Gin, Chi, Fiber, Echo) and configures SQLx for database management.
Features
- Create a folder structure and
main.go files for frameworks like Gin, Chi, Fiber, and Echo.
- Set up SQLx with a configuration file.
- Automatically configure Go modules and run common Go commands.
Commands
- Hello World:
golang-sqlx-file-setup.helloWorld - Shows a Hello World message.
- Setup Golang Project:
golang-sqlx-file-setup.setupProject - Sets up a new Golang project with the specified framework and SQLx configuration.
Installation
- Install the extension from the Visual Studio Marketplace.
- Open a Go project in VSCode.
- Use the command palette to run the
Setup Golang Project command.
Usage
- Open the command palette (
Ctrl+Shift+P ).
- Run the command
Setup Golang Project .
- Follow the prompts to choose a framework and set up your project.
Contributing
Feel free to contribute by submitting issues and pull requests.
License
This project is licensed under the MIT License.
| |