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

24 lines
473 B
Go

package main
import (
"github.com/LazyBachelor/LazyPM/internal/service"
"github.com/LazyBachelor/LazyPM/pkg/web"
"context"
"fmt"
"os"
)
func main() {
config := service.Config{
WebAddress: "localhost:8080",
BeadsDBPath: "./.pm/db.db",
IssuePrefix: "pm",
StatisticsStoragePath: "./.pm/stats.json",
}
if err := web.Run(context.Background(), config); err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
}
}