Skip to content

andrewinfosec/go-sloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-sloc: Count SLOC for Go code

By Andrew Stewart (https://andrewinfosec.com)

A simple program to count the SLOC for Go code.

Example usage

$ go run go-sloc.go < go-sloc.go 
51

$ find . -name '*.go' ! -name '*_test.go' -exec cat {} \; | go-sloc
423

About

Count SLOC for Go code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages