Commit Graph

6 Commits

Author SHA1 Message Date
Alexander
13d3d66d37
refactoring: remove un-used code, add go doc, fix ci (#199)
Refactoring, consisting of
 - remove unused method `isAuxiliaryLanguage` and `FileCountList`
   in order to reduce public API surfaces (go/java)
 - add GoDoc to public APIs
 - ci: java profile use latest go src
  It also now mimics https://docs.travis-ci.com/user/languages/go/#go-import-path
  for non-go build image, as code relies on internal imports.

TEST PLAN:
 - make test
2019-02-05 22:54:14 +01:00
M. J. Fromberger
8fcadc60dc Remove an unnecessary helper function.
The writeStringLn function repeats what fmt.Fprintln already does.  Since this
package already imports fmt, removing it reduces mass.

Signed-off-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
2019-01-08 08:46:36 -08:00
Denys Smirnov
03e4a029c2 fix json output for a single file; fixes #159
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-09-28 20:15:07 +03:00
Denys Smirnov
6712d4219f optimize line count and limit maximal file size to read; fixes #101
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-05-06 15:27:35 +03:00
Zachary Romero
35d103b4e4 Add counting mode, and only programming languages flags. (#110)
Signed-off-by: Zachary Romero <zacromero3@gmail.com>
2018-05-04 18:53:18 +03:00
Denys Smirnov
83cc32253e rename cli to cmd to follow go convention
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-04-30 12:59:25 +03:00