mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 00:00:07 +01:00
autofix: fix unused method receiver (#6808)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b7372b1f32
commit
09dbbf9a69
@@ -44,11 +44,11 @@ func (p *Provider) Config() interface{} {
|
||||
return p.config
|
||||
}
|
||||
|
||||
func (p *Provider) HasTLS() bool {
|
||||
func (*Provider) HasTLS() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (p *Provider) UseTLS() bool {
|
||||
func (*Provider) UseTLS() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user