templates

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllFiles

func AllFiles(vs ...interface{}) (files []string)

func LineCount

func LineCount(vs ...interface{}) int64

func Parse

func Parse(t string) (*template.Template, error)

func SourceSize added in v0.0.2

func SourceSize(vs ...interface{}) memory.Bytes

Types

type DeclCount added in v0.1.0

type DeclCount struct {
	Func  int64
	Type  int64
	Const int64
	Var   int64
	Other int64
}

func CountDecls added in v0.1.0

func CountDecls(vs ...interface{}) DeclCount

func (DeclCount) Total added in v0.1.0

func (decl DeclCount) Total() int64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL