Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllFiles = []*File{
	commonFile,
	metricsFile,
	resourceFile,
	traceFile,
	logFile,
}

    AllFiles is a list of all files that needs to be generated.

    Functions

    This section is empty.

    Types

    type File

    type File struct {
    	Name string
    	// contains filtered or unexported fields
    }

      File represents the struct for one generated file.

      func (*File) GenerateFile

      func (f *File) GenerateFile() string

        GenerateFile generates the file string.

        func (*File) GenerateTestFile

        func (f *File) GenerateTestFile() string