command
Version:
v0.4.3
Opens a new window with list of versions in this module.
Published: Mar 24, 2026
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package main 提供 mworm 字段常量生成器
用法:
单文件: go run ./cmd/fieldgen -src=path/to/model.go
目录: go run ./cmd/fieldgen -dir=path/to/models
递归: go run ./cmd/fieldgen -dir=path/to/models -r
通过 go generate: //go:generate go run github.com/ccxdd/mworm/cmd/fieldgen -src=$GOFILE
Source Files
¶
Click to show internal directories.
Click to hide internal directories.