Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
8e55ee0e
Commit
8e55ee0e
authored
Dec 31, 2025
by
shaw
Browse files
style: fix gofmt formatting in claude_types.go
parent
2ccdc2b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/pkg/antigravity/claude_types.go
View file @
8e55ee0e
...
...
@@ -41,7 +41,7 @@ type ClaudeMetadata struct {
// 1. 标准格式: { "name": "...", "description": "...", "input_schema": {...} }
// 2. Custom 格式 (MCP): { "type": "custom", "name": "...", "custom": { "description": "...", "input_schema": {...} } }
type
ClaudeTool
struct
{
Type
string
`json:"type,omitempty"`
// "custom" 或空(标准格式)
Type
string
`json:"type,omitempty"`
// "custom" 或空(标准格式)
Name
string
`json:"name"`
Description
string
`json:"description,omitempty"`
// 标准格式使用
InputSchema
map
[
string
]
any
`json:"input_schema,omitempty"`
// 标准格式使用
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment