style: fix struct tag formatting in config.go

This commit is contained in:
linhaolin1 2026-04-02 20:53:08 +08:00
parent 0539854baa
commit 7560b6a295

View file

@ -944,7 +944,7 @@ type MCPConfig struct {
ToolConfig ` envPrefix:"PICOCLAW_TOOLS_MCP_"`
Discovery ToolDiscoveryConfig ` json:"discovery"`
// Servers is a map of server name to server configuration
Servers map[string]MCPServerConfig ` json:"servers,omitempty"`
Servers map[string]MCPServerConfig `json:"servers,omitempty"`
}
func LoadConfig(path string) (*Config, error) {