This VSCode extension helps set up Golang projects with various frameworks (Gin, Chi, Fiber, Echo) and configures SQLx for database management.
- 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.
- 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.
- 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.
- 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.
Feel free to contribute by submitting issues and pull requests.
This project is licensed under the MIT License.