Uuuh, lots of stuff

More config, moved files, some endpoints (wip), some storage
This commit is contained in:
mStar aka a person 2024-01-19 10:21:31 +00:00
parent f3514b5a42
commit 935fc33094
18 changed files with 394 additions and 70 deletions

View file

@ -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"))
}