Skip to content

Commit

Permalink
Add omitempty to all struct fields
Browse files Browse the repository at this point in the history
The JSON that gets returned by the API is filled with empty values
which serve no purpose. Adding omitempty will skip empty values.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
  • Loading branch information
gabriel-samfira committed Sep 28, 2024
1 parent bdb26c1 commit 2dfde30
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 190 deletions.
Loading

0 comments on commit 2dfde30

Please sign in to comment.