feat(struct_tags): set default tag (#87)
* feat(struct_tags): add config option for default tag * docs: docgen * fix(struct_tags): as it turns out it didnt work as i supposed to before, but now it does
This commit is contained in:
parent
c2f64db4a8
commit
57b5dbf62e
3 changed files with 19 additions and 13 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