mirror of
https://github.com/nkanaev/yarr.git
synced 2025-12-15 08:37:21 +00:00
basic server
This commit is contained in:
5
main.go
5
main.go
@@ -2,7 +2,8 @@ package main
|
||||
|
||||
import (
|
||||
"github.com/nkanaev/yarr/storage"
|
||||
"github.com/nkanaev/yarr/worker"
|
||||
//"github.com/nkanaev/yarr/worker"
|
||||
"github.com/nkanaev/yarr/server"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -72,4 +73,6 @@ func main() {
|
||||
log.Print(worker.FindFeeds("https://horriblesubs.info/"))
|
||||
log.Print(worker.FindFeeds("http://daringfireball.net/"))
|
||||
*/
|
||||
srv := server.New()
|
||||
srv.ListenAndServe()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user