Skip to content

Commit aba9529

Browse files
committed
style: align whitespace in isParams method declarations for consistent formatting
1 parent ded4e45 commit aba9529

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

mcp/protocol.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ type CompleteParams struct {
377377
Ref *CompleteReference `json:"ref"`
378378
}
379379

380-
func (x *CompleteParams) isParams() {}
380+
func (x *CompleteParams) isParams() {}
381381
func (x *CompleteParams) isNil() bool { return x == nil }
382382

383383
type CompletionResultDetails struct {
@@ -994,7 +994,7 @@ type ProgressNotificationParams struct {
994994
Total float64 `json:"total,omitempty"`
995995
}
996996

997-
func (x *ProgressNotificationParams) isParams() {}
997+
func (x *ProgressNotificationParams) isParams() {}
998998
func (x *ProgressNotificationParams) isNil() bool { return x == nil }
999999

10001000
// IconTheme specifies the theme an icon is designed for.
@@ -1426,7 +1426,7 @@ type SubscribeParams struct {
14261426
URI string `json:"uri"`
14271427
}
14281428

1429-
func (x *SubscribeParams) isParams() {}
1429+
func (x *SubscribeParams) isParams() {}
14301430
func (x *SubscribeParams) isNil() bool { return x == nil }
14311431

14321432
// Sent from the client to request cancellation of resources/updated
@@ -1440,7 +1440,7 @@ type UnsubscribeParams struct {
14401440
URI string `json:"uri"`
14411441
}
14421442

1443-
func (x *UnsubscribeParams) isParams() {}
1443+
func (x *UnsubscribeParams) isParams() {}
14441444
func (x *UnsubscribeParams) isNil() bool { return x == nil }
14451445

14461446
// A notification from the server to the client, informing it that a resource
@@ -1454,7 +1454,7 @@ type ResourceUpdatedNotificationParams struct {
14541454
URI string `json:"uri"`
14551455
}
14561456

1457-
func (x *ResourceUpdatedNotificationParams) isParams() {}
1457+
func (x *ResourceUpdatedNotificationParams) isParams() {}
14581458
func (x *ResourceUpdatedNotificationParams) isNil() bool { return x == nil }
14591459

14601460
// TODO(jba): add CompleteRequest and related types.
@@ -1494,7 +1494,7 @@ type ElicitParams struct {
14941494
ElicitationID string `json:"elicitationId,omitempty"`
14951495
}
14961496

1497-
func (x *ElicitParams) isParams() {}
1497+
func (x *ElicitParams) isParams() {}
14981498
func (x *ElicitParams) isNil() bool { return x == nil }
14991499

15001500
func (x *ElicitParams) GetProgressToken() any { return getProgressToken(x) }
@@ -1527,7 +1527,7 @@ type ElicitationCompleteParams struct {
15271527
ElicitationID string `json:"elicitationId"`
15281528
}
15291529

1530-
func (x *ElicitationCompleteParams) isParams() {}
1530+
func (x *ElicitationCompleteParams) isParams() {}
15311531
func (x *ElicitationCompleteParams) isNil() bool { return x == nil }
15321532

15331533
// An Implementation describes the name and version of an MCP implementation, with an optional

0 commit comments

Comments
 (0)