Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yeah, that's similar to the field mask that was discussed on the issue (https://github.com/google/go-github/issues/19#issuecomment-2...), though your approach does provide some nice encapsulation. Given how large some of the GitHub data types are, you'd probably want to auto-generate the setter methods, similar to what goprotobuf does for accessor methods.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: