Renames packages to correct name

This commit is contained in:
A. Svensson 2017-07-15 18:08:17 +02:00
parent c6f73275b4
commit 5d07c05648
9 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
package ss13hub package ss13_se
import ( import (
"bytes" "bytes"

View File

@ -3,21 +3,21 @@ package main
import ( import (
"time" "time"
"github.com/lmas/ss13hub" "github.com/lmas/ss13_se"
) )
func main() { func main() {
// TODO: load config from a toml file // TODO: load config from a toml file
conf := ss13hub.Conf{ conf := ss13_se.Conf{
WebAddr: ":8000", WebAddr: ":8000",
ReadTimeout: 30 * time.Second, ReadTimeout: 30 * time.Second,
WriteTimeout: 30 * time.Second, WriteTimeout: 30 * time.Second,
ScrapeTimeout: 10 * time.Minute, ScrapeTimeout: 10 * time.Minute,
Storage: &ss13hub.StorageSqlite{ Storage: &ss13_se.StorageSqlite{
Path: "./tmp/servers.db", Path: "./tmp/servers.db",
}, },
} }
app, err := ss13hub.New(conf) app, err := ss13_se.New(conf)
if err != nil { if err != nil {
panic(err) panic(err)
} }

View File

@ -1,4 +1,4 @@
package ss13hub package ss13_se
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package ss13hub package ss13_se
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package ss13hub package ss13_se
import ( import (
"html/template" "html/template"

View File

@ -1,4 +1,4 @@
package ss13hub package ss13_se
import ( import (
"crypto/sha256" "crypto/sha256"

View File

@ -1,4 +1,4 @@
package ss13hub package ss13_se
import ( import (
"html/template" "html/template"

View File

@ -1,4 +1,4 @@
package ss13hub package ss13_se
import ( import (
"time" "time"

View File

@ -1,4 +1,4 @@
package ss13hub package ss13_se
import ( import (
"html/template" "html/template"