mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 00:54:23 +00:00
Rename config and instance struct to avoid awkward naming
This commit is contained in:
@@ -18,10 +18,10 @@ import (
|
||||
|
||||
type Handler struct {
|
||||
InstanceManager manager.InstanceManager
|
||||
cfg config.Config
|
||||
cfg config.AppConfig
|
||||
}
|
||||
|
||||
func NewHandler(im manager.InstanceManager, cfg config.Config) *Handler {
|
||||
func NewHandler(im manager.InstanceManager, cfg config.AppConfig) *Handler {
|
||||
return &Handler{
|
||||
InstanceManager: im,
|
||||
cfg: cfg,
|
||||
|
||||
Reference in New Issue
Block a user