srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.
It's dangerous to provide dynamic input as the first parameter of a printf-like function since it may contain a sequence like %v which would cause a problem.
Don't use
fmt.Sprintf
here since it's not needed.It's dangerous to provide dynamic input as the first parameter of a printf-like function since it may contain a sequence like
%v
which would cause a problem.