Skip to content

issues Search Results · repo:fatih/gomodifytags language:Go

Filter by

40 results
 (71 ms)

40 results

infatih/gomodifytags (press backspace or delete to remove)

When using structs in combination with various ORM s like GORM you ll end up having fields like: Customer and CustomerID. We ignore the Customer or the CustomerID based on what we would like to output. ...
  • botenvouwer
  • Opened 
    on Mar 29, 2024
  • #109

background: I got some error while doing scanny.pgxscan.Select because the column is not there without the struct tag db: createdat (actually it was CreatedAt on the struct) it shows error scanning all: ...
  • kokizzu
  • 3
  • Opened 
    on Oct 21, 2022
  • #95

I d like to have the ability to change the defaults of the executable, e.g. to make the default transformation be camelCase instead of snake_case. My proposal would be to introduce a config file (e.g. ...
  • tomasger
  • Opened 
    on Aug 5, 2022
  • #94

I wonder if its possible and I m missing something, or if it is something that you might want to accept as a PR. tl;dr: I want to copy all yaml tag options and names to json so, in: package main type ...
  • caarlos0
  • 2
  • Opened 
    on Aug 3, 2022
  • #93

I have been unable to download and install the gomodifytags package automatically via the install all option and when I attempt to do it manually via the go install github.com/fatih/gomodifytags@latest ...
  • IanoNjuguna
  • Opened 
    on Jul 1, 2022
  • #91

Is it somehow possible to add tags with comma eg. with mapstructure: type Friend struct { Person `mapstructure: ,squash ` } I tried this but then squash is treated as the next tag token, maybe I ...
  • jozuenoon
  • Opened 
    on Dec 2, 2021
  • #88

Currently even with -w flag the output still printed in stdout it would be nice if there s a flag that print only when there s error
  • kokizzu
  • 5
  • Opened 
    on Aug 25, 2021
  • #84

for example: gomodifytags bla.go -w -field-regex .*Id -add-options json=string gomodifytags bla.go -w -field-regex .*At -add-options json=string those will modify only fields that ends with Id or ...
  • kokizzu
  • Opened 
    on Aug 21, 2021
  • #83

tested both of this didn t work: -add-options json=string,omitempty -add-options json=string -add-options json=omitempty but running the command twice works: -add-options json=string -add-options json=omitempty ...
  • kokizzu
  • 1
  • Opened 
    on Aug 20, 2021
  • #82

I m trying to generate with formatting tag values with -template. And I got null $field. script executed: gomodifytags -file purchase.go -all -add-tags gorm --template column:$field -w result: type ...
  • kecci
  • 6
  • Opened 
    on Mar 30, 2021
  • #76
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub