Skip to content

Commit

Permalink
refactor: rename files
Browse files Browse the repository at this point in the history
  • Loading branch information
andygeiss committed Aug 11, 2024
1 parent 9c2204e commit 9f2e0e4
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion benchmarks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package ecs_test

import (
"fmt"
"github.com/andygeiss/ecs/core"
"math/rand"
"testing"

"github.com/andygeiss/ecs/core"
)

func BenchmarkEntityManager_Get_With_1_Entity_Id_Found(b *testing.B) {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (m *defaultEntityManager) Remove(entity *Entity) {
}

// NewEntityManager creates a new defaultEntityManager and returns its address.
func NewEntityManager() EntityManager {
func NewEntityManager() *defaultEntityManager {
return &defaultEntityManager{
entities: []*Entity{},
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9f2e0e4

Please sign in to comment.