command
module
Version:
v0.0.0-...-7b6962b
Opens a new window with list of versions in this module.
Published: Mar 20, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-lombok
介绍
Go 版本的属性 getter/setter 生成工具,类似 java 中的 lombok。
安装
推荐直接使用 go 源码安装
go install github.com/heyuuu/go-lombok@latest
常用命令
go-lombok generte -d {src-dir}
: 在 src-dir
目录(默认为当前目录)生成 getter/setter 代码,
go-lombok clear -d {src-dir}
: 在 src-dir
目录(默认为当前目录)清理生成 getter/setter 的代码
其他命令细节可通过 go-lombok --help
查看
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
internal
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.