Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.1 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.1 KB

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

  1. Install the extension from the Visual Studio Marketplace.
  2. Open a Go project in VSCode.
  3. Use the command palette to run the Setup Golang Project command.

Usage

  1. Open the command palette (Ctrl+Shift+P).
  2. Run the command Setup Golang Project.
  3. 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.