lint fixes

make "Set For Life" easier to read.
This commit is contained in:
2026-07-23 23:57:16 +01:00
parent fb13566543
commit ad882d0fc0
2 changed files with 58 additions and 12 deletions

View File

@@ -9,8 +9,9 @@ import (
"charm.land/huh/v2"
"github.com/charmbracelet/fang"
"github.com/onyx-and-iris/lottery-cli"
"github.com/spf13/cobra"
"github.com/onyx-and-iris/lottery-cli"
)
var version string
@@ -40,7 +41,7 @@ var cmd = &cobra.Command{
Options(
huh.NewOption("Lotto", "lotto"),
huh.NewOption("EuroMillions", "euromillions"),
huh.NewOption("SetForLife", "setforlife"),
huh.NewOption("Set For Life", "setforlife"),
huh.NewOption("Thunderball", "thunderball"),
huh.NewOption("Powerball", "powerball"),
).
@@ -69,7 +70,11 @@ var cmd = &cobra.Command{
}
func main() {
if err := fang.Execute(context.Background(), cmd, fang.WithVersion(versionFromBuild())); err != nil {
if err := fang.Execute(
context.Background(),
cmd,
fang.WithVersion(versionFromBuild()),
); err != nil {
os.Exit(1)
}
}