feat(struct_tags): add config option for default tag

This commit is contained in:
Oleksandr Smirnov 2025-03-02 16:56:43 +02:00
parent c2f64db4a8
commit 85384d1c88
No known key found for this signature in database
2 changed files with 5 additions and 7 deletions

View file

@ -62,6 +62,9 @@ local default_config = {
gotag = {
---@type gopher.ConfigGoTagTransform
transform = "snakecase",
-- default tags to add to struct fields
default_tag = "json",
},
}
--minidoc_afterlines_end