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

Can we have an option to prefix it with get_? #22

Closed
ice1000 opened this issue Mar 5, 2019 · 5 comments
Closed

Can we have an option to prefix it with get_? #22

ice1000 opened this issue Mar 5, 2019 · 5 comments
Assignees

Comments

@ice1000
Copy link

ice1000 commented Mar 5, 2019

https://github.com/Hoverbear/getset/blob/7b00ca8923a50cc7408f203a1111627ca71de526/src/lib.rs#L61

@Hoverbear
Copy link
Collaborator

How do you propose configuring it?

@ice1000
Copy link
Author

ice1000 commented Mar 5, 2019

It's a tough question indeed. Can we do get_ = "pub"?

@Hoverbear
Copy link
Collaborator

How about #[get = "pub with-prefix"]?

@Hoverbear Hoverbear self-assigned this Mar 5, 2019
@ice1000
Copy link
Author

ice1000 commented Mar 5, 2019

LGTM!

@Hoverbear
Copy link
Collaborator

@ice1000 PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants