feat: Transform gomcp into a professional template repository #1
ci.yml
on: pull_request
Security Scan
35s
Docker Build
0s
Matrix: Build
Annotations
21 errors
|
Lint
Process completed with exit code 1.
|
|
Lint
undefined: mcp.CreateMessageRequestParams
|
|
Security Scan
Process completed with exit code 1.
|
|
Security Scan:
internal/sampling/sampling.go#L97
invalid operation: cannot index result.Content (variable of type mcp.Content)
|
|
Security Scan:
internal/sampling/sampling.go#L96
invalid argument: result.Content (variable of type mcp.Content) for built-in len
|
|
Security Scan:
internal/sampling/sampling.go#L62
cannot use mcp.TextContent{…} (value of type mcp.TextContent) as mcp.Content value in struct literal: mcp.TextContent does not implement mcp.Content (method MarshalJSON has pointer receiver)
|
|
Security Scan:
internal/sampling/sampling.go#L63
unknown field Type in struct literal of type mcp.TextContent
|
|
Security Scan:
internal/sampling/sampling.go#L61
undefined: mcp.RoleUser
|
|
Security Scan:
internal/sampling/sampling.go#L52
invalid argument: result.Content (variable of type mcp.Content) for built-in len
|
|
Security Scan:
internal/sampling/sampling.go#L43
cannot use &mcp.CreateMessageRequest{…} (value of type *mcp.CreateMessageRequest) as *mcp.CreateMessageParams value in argument to session.CreateMessage
|
|
Security Scan:
internal/sampling/sampling.go#L27
undefined: mcp.CreateMessageRequestParams
|
|
Security Scan
file requires newer Go version go1.24 (application built with go1.23)
|
|
Test
Process completed with exit code 1.
|
|
Test:
internal/sampling/sampling.go#L97
invalid operation: cannot index result.Content (variable of interface type mcp.Content)
|
|
Test:
internal/sampling/sampling.go#L96
invalid argument: result.Content (variable of interface type mcp.Content) for built-in len
|
|
Test:
internal/sampling/sampling.go#L63
unknown field Type in struct literal of type mcp.TextContent
|
|
Test:
internal/sampling/sampling.go#L62
cannot use mcp.TextContent{…} (value of struct type mcp.TextContent) as mcp.Content value in struct literal: mcp.TextContent does not implement mcp.Content (method MarshalJSON has pointer receiver)
|
|
Test:
internal/sampling/sampling.go#L61
undefined: mcp.RoleUser
|
|
Test:
internal/sampling/sampling.go#L52
invalid argument: result.Content (variable of interface type mcp.Content) for built-in len
|
|
Test:
internal/sampling/sampling.go#L43
cannot use &mcp.CreateMessageRequest{…} (value of type *mcp.CreateMessageRequest) as *mcp.CreateMessageParams value in argument to session.CreateMessage
|
|
Test:
internal/sampling/sampling.go#L27
undefined: mcp.CreateMessageRequestParams
|