go-lombok

command module
v0.0.0-...-7b6962b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 7 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL