Skip to content

Simplified internals

Choose a tag to compare

@egonelbre egonelbre released this 29 Dec 10:47

The internal logic how stats was changed to allow for more flexible analysis. It's now possible to get stats about upstream and downstream packages.

This also means that some template functions were removed. They can be replaced as:

  • {{ LineCount . }} -> {{ .Go.Lines }}
  • {{ SourceSize . }} -> {{ .AllFiles.Size }}
  • {{ DeclCount . }}-> {{ .Decls }}
  • {{ TokenCount . }} -> {{ .Tokens }}