Skip to content

Judge whether the message is empty? #71

@zxyao145

Description

@zxyao145

Hi, does this line of code need to determine whether the length of the msg is 0?

just like this:

if len(msgs) > 0 {
    ch <- msgs
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions