Skip to content

Commit 9ff64e9

Browse files
committed
chore: use strcase.ConfigureAcronym
1 parent 034c52c commit 9ff64e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/api_gen/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"fmt"
66
"os"
77

8+
"github.com/iancoleman/strcase"
89
"github.com/spf13/cobra"
910
)
1011

@@ -20,6 +21,7 @@ GitHub: https://github.com/go-generalize/api_gen/v2`,
2021
)
2122

2223
func main() {
24+
strcase.ConfigureAcronym("ID", "id")
2325
if err := rootCmd.Execute(); err != nil {
2426
fmt.Fprintln(os.Stderr, err)
2527
os.Exit(1)

0 commit comments

Comments
 (0)