diff options
Diffstat (limited to 'cmd/gotosocial/action/testrig/no_testrig.go')
| -rw-r--r-- | cmd/gotosocial/action/testrig/no_testrig.go | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cmd/gotosocial/action/testrig/no_testrig.go b/cmd/gotosocial/action/testrig/no_testrig.go index 07e9960dc..d5459b200 100644 --- a/cmd/gotosocial/action/testrig/no_testrig.go +++ b/cmd/gotosocial/action/testrig/no_testrig.go @@ -19,8 +19,15 @@ package testrig -import "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" +import ( + "context" + + "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action" +) + +// check function conformance. +var _ action.GTSAction = Start // Start creates and starts a gotosocial testrig server. // This is only enabled in debug builds, else is nil. -var Start action.GTSAction +func Start(context.Context) error { return nil } |
