百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

go-orm-helper

> 数据库
开源

一个 GoLand 插件,可自动提供数据库字段补全、标签,并生成结构体用于编写 ORM 代码。支持: Gorm、Xorm、Beego、GoFrame

189 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个 GoLand 插件,可自动提供数据库字段补全、标签,并生成结构体用于编写 ORM 代码。支持: 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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javabeegodatabasegoframegoland

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

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