Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
21bcf64f0f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app/space.go

+ 2 - 0
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),