Comments (2)
I agree that this would be a valuable addition, but do you see this working with public functions or only private functions? If you see a use case for public functions as well, do you see it checking only the package in which the function exists or the entire project? Obviously external projects can't necessarily be checked, but this might give a sense of which functions don't need to be public.
from checks.
Only private functions, just like the go linter's unused variable check.
from checks.
Related Issues (13)
- Add check to verify that import aliases are consistent
- novendor: option to consider all vendored projects source packages for the purpose of determining packages that are used HOT 1
- novendor: do not consider vendor directories in hidden directories
- novendor: support analysis of packages with more than one package excluded using build constraints HOT 3
- novendor: project-level expansion inference does not work for non-vendored packages
- novendor: add option to ignore packages HOT 2
- novendor: infinite loop in edge case with CGo build constraints
- ptimports: incorrect grouping for root-level imports
- Allow user to request gogenerate to run generators in parallel
- ptimports: cgo HOT 1
- Move main packages to root of checks packages HOT 1
- gocd: Ability to blacklist imports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checks.