From a4c4340b949181fe0296b9e84a7f32143cf1dfa5 Mon Sep 17 00:00:00 2001 From: Leonel Quinteros Date: Sun, 7 Aug 2016 10:39:39 -0300 Subject: [PATCH] Improve goreportcard.com results --- middleware.go | 2 -- resource.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/middleware.go b/middleware.go index 0be65df..d92b485 100644 --- a/middleware.go +++ b/middleware.go @@ -1,7 +1,5 @@ package yarf -import () - // MiddlewareHandler interface provides the methods for request filters // that needs to run before, or after, every request Resource is executed. type MiddlewareHandler interface { diff --git a/resource.go b/resource.go index 547a460..df0f3df 100644 --- a/resource.go +++ b/resource.go @@ -1,7 +1,5 @@ package yarf -import () - // The ResourceHandler interface defines how Resources through the application have to be defined. // Ideally, the developer will composite the Resource struct into their own resources, // but it's possible to implement each one by their own.