A Go microservices framework
131 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .golangci.yaml | 1 | # This file contains all available configuration options |
| LOW | .golangci.yaml | 21 | # no need to include all autogenerated files, we confidently recognize |
| LOW | .golangci.yaml | 41 | # Default: colored-line-number |
| LOW | .golangci.yaml | 121 | # Setting locale to US will correct the British spelling of 'colour' to 'color'. |
| LOW | .golangci.yaml | 241 | |
| LOW | cmd/micro/api/api.go | 1 | // Package api implements the 'micro api' command — a lightweight |
| LOW | cmd/micro-mcp-gateway/main.go | 1 | // Command micro-mcp-gateway runs a standalone MCP gateway that discovers |
| LOW | cmd/protoc-gen-micro/main.go | 1 | // Go support for Protocol Buffers - Google's data interchange format |
| LOW | cmd/protoc-gen-micro/main.go | 21 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| LOW | cmd/protoc-gen-micro/main.go | 41 | // |
| LOW | cmd/protoc-gen-micro/generator/generator.go | 1 | // Go support for Protocol Buffers - Google's data interchange format |
| LOW | cmd/protoc-gen-micro/generator/generator.go | 1401 | // The tag is a string like "varint,2,opt,name=fieldname,def=7" that |
| LOW | cmd/protoc-gen-micro/generator/generator.go | 1701 | // defaultConstantName builds the name of the default constant from the message |
| LOW | cmd/protoc-gen-micro/generator/name_test.go | 1 | // Go support for Protocol Buffers - Google's data interchange format |
| LOW | transport/options.go | 21 | // Other options for implementations of the interface |
| LOW | transport/grpc/grpc_test.go | 21 | |
| LOW | wrapper/auth/server.go | 21 | } |
| LOW | wrapper/auth/client.go | 21 | // For each outgoing request: |
| LOW | config/source/flag/flag.go | 81 | func (fs *flagsrc) Write(cs *source.ChangeSet) error { |
| LOW | config/source/cli/cli.go | 81 | func (c *cliSource) Write(cs *source.ChangeSet) error { |
| LOW | auth/noop/noop.go | 1 | // Package noop provides a no-op auth implementation for testing and development. |
| LOW | auth/noop/noop.go | 21 | // |
| LOW | health/health.go | 1 | // Package health provides health check functionality for microservices. |
| LOW | internal/test/service.go | 41 | // - Bi-directional streaming |
| LOW | internal/test/testing.go | 1 | // Package test provides utilities for testing micro services. |
| LOW | internal/util/mdns/server.go | 221 | if query.Opcode != dns.OpcodeQuery { |
| LOW | internal/util/mdns/server.go | 281 | Opcode: dns.OpcodeQuery, |
| LOW | internal/util/mdns/server.go | 321 | // |
| LOW | internal/util/mdns/dns_sd.go | 1 | package mdns |
| LOW | internal/util/mdns/dns_sd.go | 21 | // server, err := mdns.NewServer(&mdns.Config{Zone: service}) |
| LOW | internal/util/mdns/dns_sd.go | 41 | } |
| LOW | internal/util/mdns/dns_sd.go | 81 | // availability of the service, as described in section 8.3 of RFC 6762. |
| LOW | internal/util/tls/tls.go | 21 | var ( |
| LOW | …l/website/docs/architecture/adr-010-unified-gateway.md | 81 | # - HTTP API at /api/{service}/{endpoint} |
| LOW | internal/website/docs/guides/tool-descriptions.md | 121 | |
| LOW | internal/website/docs/guides/tool-descriptions.md | 141 | // Only the provided fields are updated; omitted fields are unchanged. |
| LOW | internal/website/docs/guides/tool-descriptions.md | 161 | ``` |
| LOW | server/server.go | 101 | Context() context.Context |
| LOW | server/doc.go | 1 | package server |
| LOW | server/doc.go | 21 | // |
| LOW | server/doc.go | 81 | } |
| LOW | ai/tools/tools.go | 1 | // Package tools turns go-micro services into ai.Tool definitions and |
| LOW | ai/together/together.go | 1 | // Package together implements the Together AI model provider. |
| LOW | ai/groq/groq.go | 1 | // Package groq implements the Groq model provider. |
| LOW | ai/atlascloud/atlascloud.go | 1 | // Package atlascloud implements the Atlas Cloud model provider. |
| LOW | ai/mistral/mistral.go | 1 | // Package mistral implements the Mistral AI model provider. |
| LOW | ai/flow/flow.go | 1 | // Package flow provides event-driven LLM orchestration for go-micro |
| LOW | examples/mcp/platform/main.go | 1 | // Platform example: AI agents interacting with a real microservices platform. |
| LOW | examples/mcp/workflow/main.go | 1 | // Workflow example: cross-service orchestration via AI agents. |
| LOW | examples/mcp/crud/main.go | 1 | // CRUD example: a contact book service with full MCP integration. |
| LOW | examples/mcp/documented/README.md | 21 | ### 2. **JSDoc-Style Tags** |
| LOW | examples/mcp/documented/README.md | 201 | |
| LOW | examples/deployment/docker-compose.yml | 1 | # Go Micro + MCP Gateway deployment with Docker Compose |
| LOW | examples/agent-demo/main.go | 1 | // Agent Demo — A multi-service project management app |
| LOW | registry/consul/options.go | 41 | // AllowStale sets whether any Consul server (non-leader) can service |
| LOW | events/options.go | 41 | // ConsumeOptions contains all the options which can be provided when subscribing to a topic |
| LOW | gateway/mcp/option.go | 1 | package mcp |
| LOW | gateway/mcp/mcp.go | 1 | // Package mcp provides Model Context Protocol (MCP) gateway functionality for go-micro services. |
| LOW | gateway/mcp/mcp.go | 101 | |
| LOW | gateway/mcp/mcp.go | 121 | // When set, tools that fail repeatedly are temporarily blocked to |
| 7 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | internal/website/docs/guides/ai-provider-guide.md | 283 | ai.WithAPIKey("your-api-key"), |
| HIGH | ai/README.md | 33 | ai.WithAPIKey("your-api-key"), |
| HIGH | ai/README.md | 67 | ai.WithAPIKey("your-api-key"), |
| HIGH | ai/README.md | 96 | ai.WithAPIKey("your-api-key"), |
| HIGH | ai/together/together.go | 11 | // ai.WithAPIKey("your-api-key"), |
| HIGH | ai/gemini/gemini.go | 8 | // ai.WithAPIKey("your-api-key"), |
| HIGH | ai/groq/groq.go | 11 | // ai.WithAPIKey("your-api-key"), |
| HIGH | ai/atlascloud/atlascloud.go | 13 | // ai.WithAPIKey("your-api-key"), |
| HIGH | ai/atlascloud/atlascloud.go | 18 | // ai.WithAPIKey("your-api-key"), |
| HIGH | ai/mistral/mistral.go | 11 | // ai.WithAPIKey("your-api-key"), |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cmd/micro/cli/deploy/deploy.go | 123 | // Step 1: Check SSH connectivity |
| LOW | cmd/micro/cli/deploy/deploy.go | 131 | // Step 2: Check server is initialized |
| LOW | cmd/micro/cli/deploy/deploy.go | 139 | // Step 3: Build binaries |
| LOW | cmd/micro/cli/deploy/deploy.go | 169 | // Step 4: Copy binaries |
| LOW | cmd/micro/cli/deploy/deploy.go | 177 | // Step 5: Setup and restart services via systemd |
| LOW | cmd/micro/cli/deploy/deploy.go | 185 | // Step 6: Restart services |
| LOW | cmd/micro/cli/deploy/deploy.go | 193 | // Step 7: Check health |
| LOW | contrib/langchain-go-micro/examples/multi_agent.py | 48 | # Step 1: Create a user |
| LOW | contrib/langchain-go-micro/examples/multi_agent.py | 55 | # Step 2: Create a blog post for that user |
| LOW | contrib/langchain-go-micro/examples/multi_agent.py | 63 | # Step 3: List user's posts |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ntrib/langchain-go-micro/langchain_go_micro/toolkit.py | 124 | Make HTTP request to MCP gateway. Args: method: HTTP method (GET, POST, etc.) p |
| HIGH | …ntrib/langchain-go-micro/langchain_go_micro/toolkit.py | 270 | Call a specific tool directly. Args: tool_name: Name of the tool to call argume |
| HIGH | …rib/go-micro-llamaindex/go_micro_llamaindex/toolkit.py | 123 | Make HTTP request to MCP gateway. Args: method: HTTP method (GET, POST, etc.) path: API |
| HIGH | …rib/go-micro-llamaindex/go_micro_llamaindex/toolkit.py | 264 | Call a specific tool directly. Args: tool_name: Name of the tool to call arguments: JSO |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .golangci.yaml | 1 | # This file contains all available configuration options |
| MEDIUM | internal/website/install.sh | 99 | echo " micro new myservice # Create a new service" |
| MEDIUM | internal/scripts/install.sh | 72 | echo " micro new myservice # Create a new service" |
| MEDIUM | …trib/go-micro-llamaindex/examples/rag_with_services.py | 25 | # Create a simple document index for RAG |
| MEDIUM | …trib/go-micro-llamaindex/examples/rag_with_services.py | 37 | # Create a query engine tool for RAG |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ntrib/langchain-go-micro/langchain_go_micro/toolkit.py | 5 | |
| LOW | …trib/langchain-go-micro/langchain_go_micro/__init__.py | 7 | |
| LOW | …trib/langchain-go-micro/langchain_go_micro/__init__.py | 7 | |
| LOW | …trib/langchain-go-micro/langchain_go_micro/__init__.py | 8 | |
| LOW | …trib/langchain-go-micro/langchain_go_micro/__init__.py | 8 | |
| LOW | …trib/langchain-go-micro/langchain_go_micro/__init__.py | 8 | |
| LOW | …rib/go-micro-llamaindex/go_micro_llamaindex/toolkit.py | 9 | |
| LOW | …ib/go-micro-llamaindex/go_micro_llamaindex/__init__.py | 7 | |
| LOW | …ib/go-micro-llamaindex/go_micro_llamaindex/__init__.py | 7 | |
| LOW | …ib/go-micro-llamaindex/go_micro_llamaindex/__init__.py | 8 | |
| LOW | …ib/go-micro-llamaindex/go_micro_llamaindex/__init__.py | 8 | |
| LOW | …ib/go-micro-llamaindex/go_micro_llamaindex/__init__.py | 8 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contrib/langchain-go-micro/tests/test_toolkit.py | 62 | def test_config_custom_values(self): |
| LOW | contrib/langchain-go-micro/tests/test_toolkit.py | 91 | def test_from_gateway_with_auth(self): |
| LOW | contrib/langchain-go-micro/tests/test_toolkit.py | 133 | def test_get_tools_with_service_filter(self, mock_request, mock_gateway_response): |
| LOW | contrib/langchain-go-micro/tests/test_toolkit.py | 148 | def test_get_tools_with_include(self, mock_request, mock_gateway_response): |
| LOW | contrib/langchain-go-micro/tests/test_toolkit.py | 162 | def test_get_tools_with_exclude(self, mock_request, mock_gateway_response): |
| LOW | contrib/go-micro-llamaindex/tests/test_toolkit.py | 70 | def test_config_custom_values(self): |
| LOW | contrib/go-micro-llamaindex/tests/test_toolkit.py | 99 | def test_from_gateway_with_auth(self): |
| LOW | contrib/go-micro-llamaindex/tests/test_toolkit.py | 144 | def test_get_tools_with_service_filter(self, mock_request, mock_gateway_response): |
| LOW | contrib/go-micro-llamaindex/tests/test_toolkit.py | 159 | def test_get_tools_with_include(self, mock_request, mock_gateway_response): |
| LOW | contrib/go-micro-llamaindex/tests/test_toolkit.py | 173 | def test_get_tools_with_exclude(self, mock_request, mock_gateway_response): |
| LOW | contrib/go-micro-llamaindex/tests/test_toolkit.py | 188 | def test_get_tools_with_name_pattern(self, mock_request, mock_gateway_response): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | wrapper/auth/server.go | 35 | // Example usage: |
| LOW | wrapper/auth/client.go | 26 | // Example usage: |
| LOW | internal/util/mdns/dns_sd.go | 12 | // Example usage: |
| LOW | examples/deployment/docker-compose.yml | 9 | # Usage: |
| LOW | gateway/mcp/mcp.go | 4 | // Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | store/nats-js-kv/keys.go | 28 | // Plain is the plain key as requested by the go-micro interface. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | contrib/langchain-go-micro/README.md | 158 | print(f"Error: {e}") |
| MEDIUM | contrib/go-micro-llamaindex/README.md | 171 | print(f"Error: {e}") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cmd/micro/cli/new/template/crud.go | 106 | // @example {"name": "Alice Smith", "email": "alice@example.com", "phone": "+1-555-0100", "company": "Acme Inc"} |
| LOW | internal/website/docs/quickstart.md | 84 | Email: "user@example.com", |
| LOW | examples/mcp/documented/main.go | 107 | "user-1": {ID: "user-1", Name: "John Doe", Email: "john@example.com", Age: 25}, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | internal/website/badge.html | 194 | <li>Feel free to customize the colors to match your brand</li> |