remove open-golang dependency
This commit is contained in:
parent
93eeef0131
commit
5b0b47635d
8 changed files with 37 additions and 7 deletions
|
|
@ -12,7 +12,6 @@ import (
|
|||
"github.com/nkanaev/yarr/src/platform"
|
||||
"github.com/nkanaev/yarr/src/server"
|
||||
"github.com/nkanaev/yarr/src/storage"
|
||||
sdopen "github.com/skratchdot/open-golang/open"
|
||||
)
|
||||
|
||||
var Version string = "0.0"
|
||||
|
|
@ -104,7 +103,7 @@ func main() {
|
|||
|
||||
logger.Printf("starting server at %s", srv.GetAddr())
|
||||
if open {
|
||||
sdopen.Run(srv.GetAddr())
|
||||
platform.Open(srv.GetAddr())
|
||||
}
|
||||
platform.Start(srv)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue