feat(struct_tags): add config option for default tag
This commit is contained in:
parent
c2f64db4a8
commit
85384d1c88
2 changed files with 5 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue