Skip to content

Investigate omitzero #1134

@morremeyer

Description

@morremeyer

go 1.24 adds an omitzero tag for JSON marshalling, check the encoding/json section in https://go.dev/doc/go1.24.

This might be helpful specfically for transaction dates, since

In particular, unlike omitempty, omitzero omits zero-valued time.Time values, which is a common source of friction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    developmentThings that support development of the software

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions