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

Add tag literal on func #20048

Closed
mei-rune opened this issue Apr 20, 2017 · 1 comment
Closed

Add tag literal on func #20048

mei-rune opened this issue Apr 20, 2017 · 1 comment

Comments

@mei-rune
Copy link

can add tag literal to func, like as follow:

func RPCAdd(x  `argument:"x"`,  // tag for arg x
   y `argument:"y"` int   // tag for arg y ) int {
   `path:"/add"`   // tag for add func
 
   .....
}
@mei-rune mei-rune changed the title Add tag literal on func to Go Add tag literal on func Apr 20, 2017
@bradfitz
Copy link
Contributor

Dup of #15398

@golang golang locked and limited conversation to collaborators Apr 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants