feat: add services and separate further

This commit is contained in:
2026-04-29 13:25:38 +02:00
parent 6c28aea655
commit 8f6b1efea0
16 changed files with 318 additions and 168 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
State functions
*/
func LatestState(db *gorm.DB) (Command, error) {
func LatestCommand(db *gorm.DB) (Command, error) {
var state Command
err := db.Last(&state).Error
return state, err