Git Product home page Git Product logo

st's People

Contributors

alistanis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

st's Issues

Feature request: more general approach to specify ignored fields

A more general approach to specifying ignored <types> and <fields> maybe useful.

Like:

<type_list1>:<field_list1>;<type_list2>:<field_list2>;...

Which would be something like:

<type1>,<type2>,...:<field1>,<field2>,...;<type3>,<type4>,...:<field3>,<field4>,...;...

Where <type_list>:<field_list> => ignore these fields in these types

Both <type> and <field> can be * to indicate all.

And allow multiple instances of --ignore so that people with large lists can split it across multiple lines.

Another useful mechanism may be to have the tool use tags that are meant for the tool itself. The tool would read directives for fields from its own tag, remove the tag, and replace it with generated tags.

From /u/natefinch on reddit; Better documentation

Comment: In some cases, the help doesn't describe what the default behavior is. For example, it gives ways to set snake case or camel case, but doesn't describe what the default is. Same for -w, it says it changes the behavior to write to the original file, but what's the default?

From /u/natefinch on reddit; Explicit struct inclusion.

3.) You have a way to exclude structs, but I really would rather have a way to explicitly include them. Then I could just put a go:generate line above each struct, telling st to generate tags for that one struct, and it would be very clear how those tags are to be maintained right from inside the code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.