Uuuh, lots of stuff
More config, moved files, some endpoints (wip), some storage
This commit is contained in:
parent
f3514b5a42
commit
935fc33094
18 changed files with 394 additions and 70 deletions
8
main.go
8
main.go
|
@ -13,7 +13,8 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"gitlab.com/beckersam/linstrom/config"
|
||||
"gitlab.com/mstarongitlab/linstrom/config"
|
||||
"gitlab.com/mstarongitlab/linstrom/storage"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -21,4 +22,9 @@ func main() {
|
|||
fmt.Println(cliArgs)
|
||||
cfg := config.ReadConfig(&cliArgs)
|
||||
fmt.Println(cfg)
|
||||
storage, err := storage.NewStorage(&cfg)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
fmt.Println(storage.GetFollowersFor("Placeholder"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue