Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

go-orm-helper

> 数据库
Open source

A GoLand plugin that automatically provides database field completion, tags, and generates Structs for writing ORM code. Supports: Gorm、Xorm、Beego、GoFrame,

189 stars0 likes1 views
WebsiteGitHub

About

A GoLand plugin that automatically provides database field completion, tags, and generates Structs for writing ORM code. Supports: Gorm、Xorm、Beego、GoFrame,

English | 简体中文 | 日本語 | 한국어

A GoLand plugin that automatically provides database field autocompletion, tags, and generates Structs for writing ORM code. Supports: Gorm、Xorm、Beego、GoFrame, etc. ⭐️ Star to support our work!

Inspired by Laravel Idea & PhpStorm metadata. When using ORM packages in Golang, I noticed that some ORM function parameters are strings and the IDE does not support code completion. It becomes inconvenient to write code when dealing with numerous fields. Previously, when I was writing PHP, I used similar plugins and found them extremely useful. Hence, this plugin was developed.

Features

  • ORM Code Completion.
    • Assisted code completion with @Model annotation.
    • Assisted code completion with @Table annotation.
    • Assisted code completion for custom SQL. [WIP]
  • SQL to Struct conversion. Supported
  • Go ORM Tags Live Template. Supported
  • More features waiting to be discovered and improved...

Supported ORM Code Completion.

  • Gorm
  • Xorm
  • GoFrame
  • Beego [WIP]
  • sqlx [WIP]
  • More Supported

Usage

Code Completion

https://www.jetbrains.com/help/go/auto-completing-code.html#code-completion-for-functions

Annotation

If the plugin is not compatible with your syntax, you can use the @Model or @Table helper.

The plugin will scan the Structs in your project. It is recommended to set the scanning scope.

Live Template

SQL to Struct

Paste

Menu Action

Selected SQL -> Editor Popup Menu -> Go ORM Helper Tool -> SQL Convert Struct

Installation

Compatibility Range:

  • GoLand — 2022.2+
  • IntelliJ IDEA Ultimate — 2022.2+

Install Plugin from Jetbrains Marketplace

Install Plugin from Disk

  • Download Go ORM Helper Plugin Releases
  • Install plugins guide: https://www.jetbrains.com/help/idea/managing-plugins.html

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javabeegodatabasegoframegoland

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库