zeromicro / zeromicro/zero-doc
goctl api dart -api 报错
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 600
- Forks
- 249
- PR merge metrics
- No merged PRs in 30d
Description
gen.go:32 template: dataTemplate:13:45: executing "dataTemplate" at <.Type>: wrong type for value; expected string; got spec.PrimitiveType
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report points to gen.go:32 and dataTemplate line 13:45; reproduce with goctl api dart -api and inspect the template handling of spec.PrimitiveType. Done means generation completes without the reported type error and the resulting Dart API output is checked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, go
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100