texttmpl

package
v0.71.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDetailsJs

func GenerateDetailsJs(strVar string, targetFile string, detailsJs *DetailsJs)

func GenerateGraphicJs

func GenerateGraphicJs(strVar string, targetFile string, resultsJs []string)

func GenerateJsonBasedOnTemplateAndCsv

func GenerateJsonBasedOnTemplateAndCsv(jsonFilePath string, testData map[string]interface{}) *bytes.Buffer

func GenerateMutationResultsJs

func GenerateMutationResultsJs(strVar string, targetFile string, resultsJs []string)

func GenerateResultsJs

func GenerateResultsJs(strVar string, targetFile string, resultsJs *ResultsJs)

func GenerateStatsJs

func GenerateStatsJs(strVar string, targetFile string, resultsJs []string)

func GetTcJson

func GetTcJson(jsonTemplate string, testData map[string]interface{}) *bytes.Buffer

func GetTemplateFromString

func GetTemplateFromString()

Types

type DetailsJs

type DetailsJs struct {
	StatsStr string
}

type GraphicJs

type GraphicJs struct {
	Circles             string
	PriorityLines       string
	ParentChildrenLines string
}

type MStatsJs

type MStatsJs struct {
	StatsStr_1 string
	StatsStr_2 string
	StatsStr_3 string
}

type ResultsJs

type ResultsJs struct {
	SetUpStartUnixNano int64
	SetUpStart         string
	SetUpEndUnixNano   int64
	SetUpEnd           string

	NormalStartUnixNano int64
	NormalStart         string
	NormalEndUnixNano   int64
	NormalEnd           string

	TearDownStartUnixNano int64
	TearDownStart         string
	TearDownEndUnixNano   int64
	TearDownEnd           string

	GStartUnixNano int64
	GStart         string
	GEndUnixNano   int64
	GEnd           string

	TcResults string
}

type StatsJs

type StatsJs struct {
	StatsStr_1       string
	StatsStr_2       string
	StatsStr_Success string
	StatsStr_Fail    string
	StatsStr_Status  string
}

Jump to

Keyboard shortcuts

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