loading up the forgejo repo on tangled to test page performance
at forgejo 24 lines 628 B view raw
1// Copyright 2021 The Gitea Authors. All rights reserved. 2// SPDX-License-Identifier: MIT 3 4package smtp_test 5 6import ( 7 auth_model "forgejo.org/models/auth" 8 "forgejo.org/services/auth" 9 "forgejo.org/services/auth/source/smtp" 10) 11 12// This test file exists to assert that our Source exposes the interfaces that we expect 13// It tightly binds the interfaces and implementation without breaking go import cycles 14 15type sourceInterface interface { 16 auth.PasswordAuthenticator 17 auth_model.Config 18 auth_model.SkipVerifiable 19 auth_model.HasTLSer 20 auth_model.UseTLSer 21 auth_model.SourceSettable 22} 23 24var _ (sourceInterface) = &smtp.Source{}