From 21bcf64f0fb2b74f652739e2f6c983d65d531aa5 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 30 Nov 2017 12:55:31 +0100 Subject: [PATCH] comments --- app/space.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/space.go b/app/space.go index c307559be..f30775ce2 100644 --- a/app/space.go +++ b/app/space.go @@ -38,6 +38,7 @@ type Space interface { } const ( + // SpaceInitializing is an event to be fired when Space is being initialized. SpaceInitializing event.Event = iota ) @@ -47,6 +48,7 @@ type spaceImpl struct { initialized bool } +// NewSpace creates a new Space. func NewSpace() Space { return &spaceImpl{ cache: make(map[reflect.Type]Application),