ctx

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	StartTime                 time.Time
	GeneratedObjects          int64
	ExpectedObjects           int64
	GeneratedBytes            int64
	Locale                    string
	CtxCounters               map[string]int
	CtxCountersLock           sync.RWMutex
	Ctx                       map[string]string
	CtxLock                   sync.RWMutex
	CtxList                   map[string][]string
	CtxListLock               sync.RWMutex
	CtxCSV                    map[int]map[string]string
	CtxCSVLock                sync.RWMutex
	LastIndex                 int
	CountryIndex              int
	CityIndex                 int
	CurrentIterationLoopIndex int
}

Context is the object passed on the templates which contains all the needed details.

var JrContext Context

Jump to

Keyboard shortcuts

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