code.gitea.io/gitea@v1.21.7/services/auth/source/sspi/assert_interface_test.go (about) 1 // Copyright 2021 The Gitea Authors. All rights reserved. 2 // SPDX-License-Identifier: MIT 3 4 package sspi_test 5 6 import ( 7 "code.gitea.io/gitea/models/auth" 8 "code.gitea.io/gitea/services/auth/source/sspi" 9 ) 10 11 // This test file exists to assert that our Source exposes the interfaces that we expect 12 // It tightly binds the interfaces and implementation without breaking go import cycles 13 14 type sourceInterface interface { 15 auth.Config 16 } 17 18 var _ (sourceInterface) = &sspi.Source{}