zeromicro / zeromicro/zero-doc

goctl api dart -api 报错

Open
#54 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.