feat: Internalize package reorganization, update run commands for each service

This commit is contained in:
Alex Wellnitz 2025-02-11 14:23:49 +01:00
parent 12e6c65727
commit eec969fc75
7 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
package cmd
import (
generalnode "github.com/alexohneander/flotte/pkg/general-node"
generalnode "github.com/alexohneander/flotte/internal/general-node"
"github.com/spf13/cobra"
)

View File

@ -1,7 +1,7 @@
package cmd
import (
mapnode "github.com/alexohneander/flotte/pkg/map-node"
mapnode "github.com/alexohneander/flotte/internal/map-node"
"github.com/spf13/cobra"
)

View File

@ -1,7 +1,7 @@
package cmd
import (
reducenode "github.com/alexohneander/flotte/pkg/reduce-node"
reducenode "github.com/alexohneander/flotte/internal/reduce-node"
"github.com/spf13/cobra"
)

View File

@ -20,5 +20,5 @@ func Start() {
})
})
router.Run() // listen and serve on 0.0.0.0:8080
router.Run("localhost:8000") // listen and serve on 0.0.0.0:8000
}

View File

@ -9,5 +9,5 @@ func Start() {
"message": "pong",
})
})
router.Run() // listen and serve on 0.0.0.0:8080
router.Run("localhost:4000") // listen and serve on 0.0.0.0:4000
}