ainsleyclark/workplace

View on GitHub
workplace.go

Summary

Maintainability
A
35 mins
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status