42Atomys/webhooked

View on GitHub
pkg/formatting/formatter.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Formatter.Render has 5 return statements (exceeds 4 allowed).
Open

func (d *Formatter) Render() (string, error) {
    d.mu.RLock()
    defer d.mu.RUnlock()

    if d.tmplString == "" {
Severity: Major
Found in pkg/formatting/formatter.go - About 35 mins to fix

    exported type Formatter should have comment or be unexported
    Open

    type Formatter struct {
    Severity: Minor
    Found in pkg/formatting/formatter.go by golint

    There are no issues that match your filters.

    Category
    Status