Anonymous Embed struct field should be flattened default

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      type User struct {
        Model
        Name string
      } 

      Model field should be flattened default, i know there is a inline tag, but we should keep the same sense with golang embed, don't trouble developers.

            Assignee:
            Matt Dale
            Reporter:
            胜宏 舒
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: