This commit is contained in:
parent
c287cefd77
commit
57bc8ada40
|
@ -1,6 +1,7 @@
|
|||
package {{Package}}
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log/slog"
|
||||
|
||||
"go.uber.org/fx"
|
||||
|
@ -30,3 +31,7 @@ func New(p Params) (r Result, err error) {
|
|||
r.Output = o
|
||||
return
|
||||
}
|
||||
|
||||
func (o *{{title Package}}) Health(ctx context.Context) (bool, error) {
|
||||
return true, nil
|
||||
}
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
git add -A
|
||||
if [ "$#" -ne 1 ]; then
|
||||
git commit -m "a"
|
||||
if [ "$#" -eq 0 ]; then
|
||||
git commit -m "a"
|
||||
else
|
||||
git commit -m $@
|
||||
array=("$@")
|
||||
str="'${array[@]}'"
|
||||
git commit -m "$str"
|
||||
fi
|
||||
git push
|
||||
|
||||
|
|
|
@ -19,11 +19,7 @@ go install honnef.co/go/tools/cmd/keyify@master
|
|||
go install github.com/fatih/motion@latest
|
||||
go install github.com/koron/iferr@master
|
||||
go install golang.org/x/perf/cmd/benchstat@latest
|
||||
go install github.com/Quasilyte/go-benchrun@latest
|
||||
go install github.com/tmrts/boilr@latest
|
||||
go install github.com/goreleaser/goreleaser@latest
|
||||
go install github.com/wader/bump/cmd/bump@latest
|
||||
go install mvdan.cc/gofumpt@latest
|
||||
go install github.com/jackc/tern/v2@latest
|
||||
|
||||
asdf reshim golang
|
||||
|
|
|
@ -12,6 +12,8 @@ prefix="https://"
|
|||
stripped="${stripped#"$prefix"}"
|
||||
prefix="git@"
|
||||
stripped="${stripped#"$prefix"}"
|
||||
suffix=".git"
|
||||
stripped="${stripped%"$suffix"}"
|
||||
stripped=$(echo "$stripped" | sed -e "s/:/\//1")
|
||||
echo $stripped
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue