This commit is contained in:
a 2024-04-02 23:34:54 -05:00
parent c287cefd77
commit 57bc8ada40
Signed by: a
GPG Key ID: 374BC539FE795AF0
4 changed files with 13 additions and 8 deletions

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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
}