import "github.com/haya14busa/offset"
# Go
$ go get github.com/haya14busa/offset/cmd/offset
Usage: offset [FLAGS] [File]
Return position from given offset
Flags:
-offset int
byte offset
-version
print version
GitHub: https://github.com/haya14busa/offset
$ offset -offset 14 LICENSE
{"file":"LICENSE","offset":14,"line":3,"column":1}