Awesome Go

stto

CategoryCode Analysis
SubcategoryCode Analysis
Stars0

A light-weight superfast line of code counter written in pure Go

About stto

STTO

Command-line utility written in Go to check total line of code in a file present in a directory.

Authors

Dependencies

  • go 1.22.5
  • github.com/mattn/go-runewidth v0.0.9
  • github.com/olekukonko/tablewriter v0.0.5

Benchmark

Benchmark was run on the clone of 'Redis' repository

Demo

**N.B: stto is no way near the more established options like 'scc' or 'tokei' in terms of features. It is in early development stage and isn't production ready.

All the tools read over 1.5k files stto scc tokei

Installation

Install using the following command for latest features

go install github.com/mainak55512/stto@latest

Alternatively you can use the optimized builds from the release section

N.B. Release builds are generally more optimized but lack latest features, 'go install' command is the prefered way to download the executable.

Usage

Full usage details available in

stto --help

Usage 1:

stto_usage_1

Usage 2:

stto_usage_2

Usage 3:

stto_usage_3

N.B. 'jproc' is a json query tool writtrn in javascript. For more details check out the repo.

🚀 About Me

I'm a Tech enthusiast and a hobby programmer. You can visit my Github profile to see my other works :)

Frequently Asked Questions

What is stto?

stto is a Code Analysis library for the Go programming language. A light-weight superfast line of code counter written in pure Go

How do I install stto?

Install stto with the Go module system using `go get mainak55512/stto`. Check the repository for the current installation instructions.

What category does stto belong to?

stto is listed under Code Analysis, specifically Code Analysis.

← Back to Code Analysis