Exemplo n.º 1
0
func NewSources(trailk *context.Context, ctx appengine.Context, key *key.Tool) *Sources {
	sources := &Sources{}

	sources.key = key.Kind("Source")
	sources.ctx = ctx
	sources.trailk = trailk

	return sources
}
Exemplo n.º 2
0
func NewSummaries(trailk *context.Context, ctx appengine.Context, key *key.Tool) *Summaries {
	summaries := &Summaries{}

	summaries.key = key.Kind("Summaries")
	summaries.ctx = ctx
	summaries.trailk = trailk

	return summaries
}