Make network as a separae interface

This commit is contained in:
9seconds
2021-03-11 04:57:07 +03:00
parent 299c6478c2
commit 24add0dce4
8 changed files with 90 additions and 63 deletions
+1 -1
View File
@@ -8,8 +8,8 @@ import (
)
type cli struct {
network network.Network
conf *config
network *network.Network
}
func (c *cli) ReadConfig(path string) error {