Files
LazyPM/main.go
Robin Olsen 0dcfe3989d refine architecture
change module name to repo
2026-02-02 11:22:20 +01:00

24 lines
409 B
Go

package main
import (
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/storage"
"fmt"
"os"
"time"
"github.com/google/uuid"
)
func main() {
statStore := storage.NewJsonStorage("./.pm/test.json", &models.Statistics{
ID: uuid.New(),
StartTime: time.Now(),
})
if err := statStore.Init(); err != nil {
fmt.Println("Error:", err)
os.Exit(1)
}
}