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:
Smirnov Oleksandr 2025-03-02 17:19:00 +02:00 committed by GitHub
parent c2f64db4a8
commit 57b5dbf62e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 13 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