You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/tools/goctl/api/dartgen
fondoger 5756627904
Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887)
* Fix bug in dartgen: Import path should match the generated api filename

* Use Route.HandlerName as generated dart API function name

Reasons:
- There is bug when using url path name as function name, because it may have invalid characters such as ":"
- Switching to HandlerName aligns with other languages such as typescript generation

* [DartGen] Add ability to generate api for url path parameters such as /path/:param
2 years ago
..
format.go feat(goctl): api dart support flutter v2 (#1603) 3 years ago
gen.go feat: Replace cli to cobra (#1855) 3 years ago
genapi.go Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887) 2 years ago
gendata.go fix(goctl): dart gen user defined struct array (#1620) 3 years ago
genvars.go feat(goctl): api dart support flutter v2 (#1603) 3 years ago
util.go Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887) 2 years ago
util_test.go fix(goctl): dart gen user defined struct array (#1620) 3 years ago
vars.go Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887) 2 years ago