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

http 的响应常量是不是定义错了? #60

Closed
caiziqi33 opened this issue Nov 21, 2021 · 3 comments · Fixed by #61
Closed

http 的响应常量是不是定义错了? #60

caiziqi33 opened this issue Nov 21, 2021 · 3 comments · Fixed by #61
Assignees
Labels
bug Something isn't working

Comments

@caiziqi33
Copy link

var MapSuccess = dtmimp.MapSuccess

// MapFailure HTTP result of FAILURE
var MapFailure = dtmimp.MapFailure

????

@yedf2
Copy link
Contributor

yedf2 commented Nov 21, 2021

这里的MapSuccess和MapFailure会在examples里面作为返回值,最后被Marshal成一个Json,返回给调用者
您说的错了,是指?

@caiziqi33
Copy link
Author

不好意思,上面截图是我本地改了,源码里面MapFailure对应的值是:dtmimp.MapSuccess
image

@yedf2
Copy link
Contributor

yedf2 commented Nov 22, 2021

明白了,帮忙提个PR?非常感谢

@li-xiao-shuang li-xiao-shuang self-assigned this Nov 22, 2021
@li-xiao-shuang li-xiao-shuang added the bug Something isn't working label Nov 22, 2021
@yedf2 yedf2 closed this as completed in #61 Nov 22, 2021
yedf2 added a commit that referenced this issue Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants