misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2024-09-22 19:25:24 +02:00
parent 209725d623
commit ba29bea0cd

View file

@ -79,7 +79,6 @@ func (b *Browser) GetServicesFor(ip string) map[string]*zeroconf.ServiceEntry {
} }
func (b *Browser) StartBrowsing(service string, domain string, mod *ZeroGod) (chan *zeroconf.ServiceEntry, error) { func (b *Browser) StartBrowsing(service string, domain string, mod *ZeroGod) (chan *zeroconf.ServiceEntry, error) {
resolver, err := zeroconf.NewResolver(nil) resolver, err := zeroconf.NewResolver(nil)
if err != nil { if err != nil {
return nil, err return nil, err