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

Skip to content

Parse messages outside of method #8

@tonimelisma

Description

@tonimelisma

The only way to parse syslog messages is by creating an empty message struct and calling its method. I don't think this is idiomatic go. Why not just have a generic parse() function which returns a message or a slice of messages from whatever was parsed?

Would a PR be welcome? Is the library still maintained? There's only one release (0.1.0)

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