Simplify naming, don't restate package name
This commit is contained in:
committed by
=Michael Hohn
parent
2d88b351ff
commit
9c0cdb1fe4
@@ -1,7 +1,7 @@
|
||||
package logger
|
||||
|
||||
type LoggerSingle struct {
|
||||
modules *LoggerVisibles
|
||||
modules *Visibles
|
||||
}
|
||||
|
||||
func NewLoggerSingle() *LoggerSingle {
|
||||
@@ -9,8 +9,8 @@ func NewLoggerSingle() *LoggerSingle {
|
||||
return &l
|
||||
}
|
||||
|
||||
type LoggerVisibles struct{}
|
||||
type Visibles struct{}
|
||||
|
||||
func (l *LoggerSingle) Setup(v *LoggerVisibles) {
|
||||
func (l *LoggerSingle) Setup(v *Visibles) {
|
||||
l.modules = v
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user