From dafc3b5b92865b97be48456e02ad235f4c79cf4e Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Tue, 20 Apr 2021 18:14:23 +0200 Subject: linting + organizing --- testrig/router.go | 1 + 1 file changed, 1 insertion(+) (limited to 'testrig/router.go') diff --git a/testrig/router.go b/testrig/router.go index abd168724..83ce7b602 100644 --- a/testrig/router.go +++ b/testrig/router.go @@ -20,6 +20,7 @@ package testrig import "github.com/superseriousbusiness/gotosocial/internal/router" +// NewTestRouter returns a Router suitable for testing func NewTestRouter() router.Router { r, err := router.New(NewTestConfig(), NewTestLog()) if err != nil { -- cgit v1.2.3