cflynn07/myblog

View on GitHub
app/handlers.go

Summary

Maintainability
A
1 hr
Test Coverage

Function PostHandler has 56 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func PostHandler(w http.ResponseWriter, r *http.Request) {
    vars := mux.Vars(r)

    type postPageVars struct {
        globalPageVars
Severity: Minor
Found in app/handlers.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status