Registry / utility / hhatto-gocloc

hhatto-gocloc

JSON →
library0.7.0gogounverified

Counts lines of code in source files, supporting multiple languages.

go get github.com/hhatto/gocloc
INSTALL
IMPORT
SIG · HHATTO-GOCLOC
H
hhatto-gocloc
utilitygov0.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gocloc
github.com/hhatto/gocloc

Analyzes the current directory and prints total lines of code.

package main import ( "fmt" "github.com/hhatto/gocloc" ) func main() { result, _ := gocloc.Analyze([]string{"."}) fmt.Println(result.Total.Lines) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hhatto-gocloc — go get hhatto-gocloc · libregistry