Open podhmo opened 3 years ago
currently implementation requires always each of function-with-extra-dependencies and consumer's arguments is same name.
e.g.
consumer
func Use(req *http.Request) (T, error) { .... }
function with extra dependencies
// this is bad, the name of argument is "r". not "req". func LoginRequired(r *http.Request) error { .. }
currently implementation requires always each of function-with-extra-dependencies and consumer's arguments is same name.
e.g.
consumer
function with extra dependencies
related issue
124