Easytags
Easy json/xml Tag generation tool for golang
Install / Use
/learn @betacraft/EasytagsREADME
easytags
Easy json/xml Tag generation tool for golang
We generally write Field names in CamelCase (aka pascal case) and we generally want them to be in snake case (camel and pascal case are supported as well) when marshalled to json/xml/sql etc. We use tags for this purpose. But it is a repeatative process which should be automated.
usage :
easytags {file_name} {tag_name_1:case_1, tag_name_2:case_2}
example: easytags file.go
You can also use this with go generate For example - In your source file, write following line
go:generate easytags $GOFILE json,xml,sql
And run
go generate
This will go through all the struct declarations in your source files, and add corresponding json/xml/sql tags with field name changed to snake case. If you have already written tag with "-" value, this tool will not change that tag.
Now supports Go modules.

Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
