diff options
author | 2021-04-20 18:14:23 +0200 | |
---|---|---|
committer | 2021-04-20 18:14:23 +0200 | |
commit | dafc3b5b92865b97be48456e02ad235f4c79cf4e (patch) | |
tree | 0f97edf4377f406df321054d26e731ff5dcc6667 /testrig/router.go | |
parent | Api/v1/statuses (#11) (diff) | |
download | gotosocial-dafc3b5b92865b97be48456e02ad235f4c79cf4e.tar.xz |
linting + organizing
Diffstat (limited to 'testrig/router.go')
-rw-r--r-- | testrig/router.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |