# intellij-plugin-dubbo-go-generator
**Repository Path**: changeden/intellij-plugin-dubbo-go-generator
## Basic Information
- **Project Name**: intellij-plugin-dubbo-go-generator
- **Description**: Intellij插件,用于支持Dubbo-Go。
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 12
- **Forks**: 0
- **Created**: 2022-02-10
- **Last Updated**: 2025-06-08
## Categories & Tags
**Categories**: idea-plugins
**Tags**: plugin, IDEA, Go语言, Dubbo, Dubbo-Go
## README
This is a Dubbo-Go Project tool.
This Plugin is only for IntelliJ IDEA And GoLand. Which is base on Dubbo-Go and more flexible and convenient. Welcome to issue and PR.
## Feature
| Feature | IDEA | GoLand |
|:------------------:|:----:|:------:|
| Hessian2 Generator | ✅️ | ✅️ |
| New Project/Module | ✅️ | ✅️ |
### Project/Module Template
| Project/Module Template | Progress |
|:-----------------------:|:--------:|
| Sample | ✅️ |
| Empty Project | ✅️ |
#### Empty Project Template Middleware
| Middleware | Module | Support |
|:------------:|:-------------------------------------:|:-------:|
| Web Service | [Gin](github.com/gin-gonic/gin) | ✅️ |
| Memory Cache | [Redis](github.com/go-redis/redis/v8) | ✅️ |
| Database | [Gorm](gorm.io/gorm) | ✅️ |
## Install
* Using IDE built-in plugin system on Windows:
* File > Settings > Plugins > Browse repositories... > Search for "Dubbo Go" > Install Plugin
* Using IDE built-in plugin system on MacOS:
* Preferences > Settings > Plugins > Browse repositories... > Search for "Dubbo Go" > Install Plugin
* Manually:
* Download the latest release and install it manually using Preferences > Plugins > Install plugin from disk...
* From official jetbrains store from download
Restart IDE.
## Usage
### Create Project
#### 1. New Project

#### 2. Choose Dubbo Go Project

#### 3. Custom Config
* Select dubbo registry
* Add some middlewares
### Generate Hessian Register Statement
Valid only in `*.go` files.
#### 1. Open `Generate` Menu and Choose `Dubbo-Go Hessian Generator`

#### 2. Choose Go Struct
You can see `Only Generate {StructName}` option when you are right click in the type declare line.

#### 3. Generate complete

##
### [code](https://gitee.com/changeden/intellij-plugin-dubbo-go-generator)
### [issues](https://gitee.com/changeden/intellij-plugin-dubbo-go-generator/issues)