mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 05:26:51 -04:00
make it compile
This commit is contained in:
8
main.go
8
main.go
@ -4,7 +4,7 @@ import (
|
||||
|
||||
"github.com/bounce-chat/go-i2p/lib/router"
|
||||
|
||||
"github.com/golang/glog"
|
||||
log "github.com/golang/glog"
|
||||
"flag"
|
||||
)
|
||||
|
||||
@ -14,13 +14,13 @@ func main() {
|
||||
|
||||
flag.Parse()
|
||||
|
||||
glog.Info("parsing i2p router configuration")
|
||||
log.Info("parsing i2p router configuration")
|
||||
|
||||
glog.Info("starting up i2p router")
|
||||
log.Info("starting up i2p router")
|
||||
r, err := router.CreateRouter()
|
||||
if err == nil {
|
||||
r.Run()
|
||||
} else {
|
||||
glog.Errorf("failed to create i2p router: %s", err)
|
||||
log.Errorf("failed to create i2p router: %s", err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user