Simplify naming, don't restate package name
This commit is contained in:
committed by
=Michael Hohn
parent
2d88b351ff
commit
9c0cdb1fe4
@@ -21,7 +21,7 @@ import (
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
func (c *CommanderSingle) Setup(st *CommanderVisibles) {
|
||||
func (c *CommanderSingle) Setup(st *Visibles) {
|
||||
r := mux.NewRouter()
|
||||
c.st = st
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ type SessionInfo struct {
|
||||
}
|
||||
|
||||
type CommanderSingle struct {
|
||||
st *CommanderVisibles
|
||||
st *Visibles
|
||||
}
|
||||
|
||||
func NewCommanderSingle() *CommanderSingle {
|
||||
@@ -42,7 +42,7 @@ func NewCommanderSingle() *CommanderSingle {
|
||||
// Runner agent.Runner
|
||||
// }
|
||||
|
||||
type CommanderVisibles struct {
|
||||
type Visibles struct {
|
||||
Logger logger.Logger
|
||||
Queue queue.Queue
|
||||
ServerStore storage.Storage
|
||||
|
||||
Reference in New Issue
Block a user