package main
import "fmt"
// ConsumerFunction uses the helper function
func ConsumerFunction() {
message := HelperFunction()
fmt.Println(message)
// Use shared struct
s := &SharedStruct{
ID: 1,
Name: "test",
Value: 42.0,
Constants: []string{SharedConstant},
}
// Call methods on the struct
fmt.Println(s.Method())
s.Process()
// Use shared interface
var iface SharedInterface = s
fmt.Println(iface.GetName())
// Use shared type
var t SharedType = 100
fmt.Println(t)
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/isaacphi/mcp-language-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server