go-tebanare
Overview
Folds reviewer-agreed Go code, such as getters and if err != nil blocks, in GitHub PR diffs. Private repos require GitHub sign-in.
go-tebanare folds Go code that your team agreed not to review in the "Files changed" tab of GitHub pull requests, so reviewers can focus on the code that matters. Works on public repositories without signing in. Private repositories require being signed in to GitHub. HOW IT WORKS Add a .gotebanare.yml file to your repository and list the presets to apply: version: 1 presets: - getter - noop - iferr When you open a pull request's "Files changed" tab, the extension parses each changed Go file and collapses the matched code into a fold row that names the rule. Click a fold row to show the lines again. PRESETS • getter: methods that only return a field of the receiver, such as func (u *User) Name() string { return u.name } • noop: methods that take no parameters, return nothing, and have an empty body • iferr: if err != nil blocks that return the error unchanged SAFE BY DESIGN • The configuration is read from the base branch, so a pull request cannot change its own rules. • Code stays visible when a file fails to parse, when a match shares a line with other code, or when the page does not match the analyzed source. • Turn hiding off for a tab from the popup or with Alt+Shift+H. PRIVACY The extension talks only to GitHub. It reads the pull request's files from github.com with your existing GitHub session; when you are not signed in, it asks GitHub's public REST API (api.github.com) for the pull request's commits, without credentials. Source code is analyzed locally in your browser by a bundled WebAssembly engine and is never sent anywhere else. There is no analytics or tracking. Source code and documentation: https://github.com/miyamo2/go-tebanare
0 out of 5No ratings
Details
- Version0.4.0
- UpdatedSeptember 28, 2026
- Offered bymiyamo2.dev
- Size364KiB
- Languages2 languages
- Developer
Email
miyamo2.dev@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
go-tebanare has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.
go-tebanare handles the following:
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser