feat: Internalize package reorganization, update run commands for each service
This commit is contained in:
parent
12e6c65727
commit
eec969fc75
@ -1,7 +1,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
generalnode "github.com/alexohneander/flotte/pkg/general-node"
|
generalnode "github.com/alexohneander/flotte/internal/general-node"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
mapnode "github.com/alexohneander/flotte/pkg/map-node"
|
mapnode "github.com/alexohneander/flotte/internal/map-node"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reducenode "github.com/alexohneander/flotte/pkg/reduce-node"
|
reducenode "github.com/alexohneander/flotte/internal/reduce-node"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
@ -9,5 +9,5 @@ func Start() {
|
|||||||
"message": "pong",
|
"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
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user