Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
//go:build darwin
|
||||
|
||||
package platform
|
||||
|
||||
// NewNetworkDiscoverer returns the macOS-specific NetworkDiscoverer.
|
||||
func NewNetworkDiscoverer() NetworkDiscoverer {
|
||||
return &DarwinNetworkDiscoverer{}
|
||||
}
|
||||
Reference in New Issue
Block a user