Perbaikan tool generete

This commit is contained in:
2025-08-20 19:44:35 +07:00
parent 773b6589bc
commit 37890cd69a
2 changed files with 443 additions and 489 deletions

View File

@@ -31,9 +31,8 @@ func main() {
if len(os.Args) < 2 {
fmt.Println("Usage: go run generate-handler.go [category/]entity [methods]")
fmt.Println("Examples:")
fmt.Println(" go run generate-handler.go product get post")
fmt.Println(" go run generate-handler.go reference/peserta get post put delete")
fmt.Println(" go run generate-handler.go master/wilayah get")
fmt.Println(" go run generate-handler.go product get post put delete")
fmt.Println(" go run generate-handler.go product get post put delete stats")
os.Exit(1)
}