Simplify naming, don't restate package name
This commit is contained in:
committed by
=Michael Hohn
parent
2d88b351ff
commit
9c0cdb1fe4
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user