607 B
607 B
Capstone Mini-Projekt: incident-tracker (CLI cobra + SQLite + JSON)
Ten sam projekt SRE realizujesz w Pythonie, Go i Ruście, żeby porównać ergonomię i architekturę wszystkich trzech języków.
Wymagania (tracker.go)
IncidentStorena SQLite (modernc.org/sqlite):InitSchema,Add(title, severity),List(severity),Resolve(id),Stats().NewCLI(dbPath string, out io.Writer) *cobra.Command— podkomendyadd <title> --severity <sev>,list [--severity <sev>],resolve <id>,statswypisujące JSON doout.
Uruchomienie testów
make test-project