Rename visitor import and management wiring
Drop the misleading trust alias for complianceportal/visitor and rename the CustomDomain config field to Management so service wiring matches the package it points at. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -23,15 +23,15 @@ package complianceportal
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
trust "go.probo.inc/probo/pkg/complianceportal/visitor"
|
||||
"go.probo.inc/probo/pkg/complianceportal/visitor"
|
||||
"go.probo.inc/probo/pkg/coredata"
|
||||
)
|
||||
|
||||
type Handler struct {
|
||||
trustService *trust.Service
|
||||
trustService *visitor.Service
|
||||
}
|
||||
|
||||
func NewHandler(trustService *trust.Service) *Handler {
|
||||
func NewHandler(trustService *visitor.Service) *Handler {
|
||||
return &Handler{trustService: trustService}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user