Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group just support one level #21

Closed
alimy opened this issue Mar 27, 2020 · 1 comment
Closed

group just support one level #21

alimy opened this issue Mar 27, 2020 · 1 comment
Labels

Comments

@alimy
Copy link
Owner

alimy commented Mar 27, 2020

// Epidemic contents fetch interface define
type Epidemic struct {
	Group           mir.Group `mir:"ncovh5api/THPneumoniaService"`
	GetContents     mir.Post  `mir:"getContents"`
	GetAreaContents mir.Post  `mir:"getAreaContents"`
}

will generate error code.

2020/03/27 23:52:16 generate code start
2020/03/27 23:52:16 generate code finish
mirc/gen/api/ncovh5api/_t_h_pneumonia_service/epidemic.go:3:18: expected ';', found '/'
make: *** [Makefile:38: generate] Error 2
@alimy
Copy link
Owner Author

alimy commented Mar 28, 2020

  • supported in v2.3.1

can reference project mir-covid19.

@alimy alimy closed this as completed Mar 28, 2020
@alimy alimy added the feature label Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant