Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to implement emit default to response or have flag option #92

@zengzhengrong

Description

@zengzhengrong

https://stackoverflow.com/questions/34716238/golang-protobuf-remove-omitempty-tag-from-generated-json-tags
The zero vaule of field be omited, I remove omitempty flag in struct, but it do not work in reponse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions