ainsleyclark/workplace

View on GitHub

Showing 1 of 1 total issue

Method Client.Notify has 5 return statements (exceeds 4 allowed).
Open

func (c *Client) Notify(tx Transmission) error {
    chunks := ChunkMessage(tx.Message, 1900) // Text message must be UTF-8 and has a 2000-character limit.

    for index, chunk := range chunks {
        if len(chunks) > 1 {
Severity: Major
Found in workplace.go - About 35 mins to fix
    Severity
    Category
    Status
    Source
    Language