Add curre for managing executions

This commit is contained in:
Kasper Juul Hermansen 2022-09-10 12:46:02 +02:00
parent af142c4b09
commit 5b0d4626b6
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
4 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import (
"go.uber.org/zap" "go.uber.org/zap"
) )
func NewStartServerCommand(logger *zap.Logger) *cobra.Command { func NewStartServerCommand(_ *zap.Logger) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "start", Use: "start",
Short: "Start the kraken server", Short: "Start the kraken server",

1
go.mod
View File

@ -3,6 +3,7 @@ module git.front.kjuulh.io/kjuulh/kraken
go 1.19 go 1.19
require ( require (
git.front.kjuulh.io/kjuulh/curre v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/spf13/cobra v1.5.0 // indirect github.com/spf13/cobra v1.5.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect github.com/spf13/pflag v1.0.5 // indirect

4
go.sum
View File

@ -1,3 +1,7 @@
git.front.kjuulh.io/kjuulh/curre v0.0.0-20220909233936-421425959197 h1:aOFriK+Ui/Kp0llmPXi3qTQkU6IPvsrRW4jl87TPArQ=
git.front.kjuulh.io/kjuulh/curre v0.0.0-20220909233936-421425959197/go.mod h1:m7WpSehONLqPh/XF3F0BI0UOpLOfGuDmDEFI1XsM6fE=
git.front.kjuulh.io/kjuulh/curre v1.0.0 h1:+a+bXcIGalBtnbmEMXjbf8gHrodp9rM5gGsz3EnI++M=
git.front.kjuulh.io/kjuulh/curre v1.0.0/go.mod h1:m7WpSehONLqPh/XF3F0BI0UOpLOfGuDmDEFI1XsM6fE=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

View File

@ -0,0 +1 @@
package server