Problem: fetch2 is unused
Solution: remove fetch2
This commit is contained in:
parent
fd3a246f0d
commit
7a9777b416
|
@ -84,12 +84,6 @@ type newItemMessage struct {
|
||||||
Channel string `json:"channel"`
|
Channel string `json:"channel"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type fetch2 struct{}
|
|
||||||
|
|
||||||
func (f *fetch2) Fetch(url string) (*http.Response, error) {
|
|
||||||
return Fetch2(url)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (b *memoryBackend) AuthTokenAccepted(header string, r *auth.TokenResponse) (bool, error) {
|
func (b *memoryBackend) AuthTokenAccepted(header string, r *auth.TokenResponse) (bool, error) {
|
||||||
conn := b.pool.Get()
|
conn := b.pool.Get()
|
||||||
defer func() {
|
defer func() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user