Combine New/Setup functions

This commit is contained in:
Michael Hohn
2024-06-16 10:31:52 -07:00
committed by =Michael Hohn
parent f611f02d1c
commit cd0647836e
8 changed files with 47 additions and 63 deletions

View File

@@ -21,11 +21,6 @@ import (
"github.com/gorilla/mux"
)
func (c *CommanderSingle) Setup(st *Visibles) {
c.st = st
setupEndpoints(c)
}
func setupEndpoints(c CommanderAPI) {
r := mux.NewRouter()