Simplify naming, don't restate package name

This commit is contained in:
Michael Hohn
2024-06-11 16:55:10 -07:00
committed by =Michael Hohn
parent 2d88b351ff
commit 9c0cdb1fe4
9 changed files with 26 additions and 26 deletions

View File

@@ -32,7 +32,7 @@ func (s *StorageContainer) FindAvailableDBs(analysisReposRequested []common.Owne
return notFoundRepos, analysisRepos
}
func (s *StorageContainer) Setup(v *ServerStorageVisibles) {
func (s *StorageContainer) Setup(v *Visibles) {
s.modules = v
}

View File

@@ -28,7 +28,7 @@ func NewStorageSingle(startingID int) *StorageSingle {
return &s
}
func (s *StorageSingle) Setup(v *ServerStorageVisibles) {
func (s *StorageSingle) Setup(v *Visibles) {
s.modules = v
}

View File

@@ -13,7 +13,7 @@ type DBLocation struct {
type StorageSingle struct {
currentID int
modules *ServerStorageVisibles
modules *Visibles
}
type DBSpec struct {
@@ -60,7 +60,7 @@ type StorageContainer struct {
// Database version of StorageSingle
RequestID int
DB *gorm.DB
modules *ServerStorageVisibles
modules *Visibles
}
type ServerStorageVisibles struct{}
type Visibles struct{}