Skip to content

The GetMainData function cannot retrieve the changed items. #52

Open
@daye-liu

Description

@daye-liu

The GetMainData function pushes the changed fields, but if the pushed variable is of type int, for example, a push indicating that the speed has changed to 0, it can cause issues. This is because in Go, the default value of an int variable in a struct is 0. So, is this 0 the result after the change or the default value indicating no change?

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions