Renames packages to correct name
This commit is contained in:
parent
c6f73275b4
commit
5d07c05648
@ -3,21 +3,21 @@ package main
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/lmas/ss13hub"
|
||||
"github.com/lmas/ss13_se"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// TODO: load config from a toml file
|
||||
conf := ss13hub.Conf{
|
||||
conf := ss13_se.Conf{
|
||||
WebAddr: ":8000",
|
||||
ReadTimeout: 30 * time.Second,
|
||||
WriteTimeout: 30 * time.Second,
|
||||
ScrapeTimeout: 10 * time.Minute,
|
||||
Storage: &ss13hub.StorageSqlite{
|
||||
Storage: &ss13_se.StorageSqlite{
|
||||
Path: "./tmp/servers.db",
|
||||
},
|
||||
}
|
||||
app, err := ss13hub.New(conf)
|
||||
app, err := ss13_se.New(conf)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package ss13hub
|
||||
package ss13_se
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package ss13hub
|
||||
package ss13_se
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package ss13hub
|
||||
package ss13_se
|
||||
|
||||
import (
|
||||
"crypto/sha256"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package ss13hub
|
||||
package ss13_se
|
||||
|
||||
import (
|
||||
"html/template"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package ss13hub
|
||||
package ss13_se
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package ss13hub
|
||||
package ss13_se
|
||||
|
||||
import (
|
||||
"html/template"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user