telegram-ads-market Cursor Rules — Free Cursor Rules…
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRulestelegram-ads-market Cursor Rules
    Back to Rules
    Systems Programming

    telegram-ads-market Cursor Rules

    TheRealMal April 15, 2026
    0 copies 0 downloads

    Always use the latest stable version of Go (1.22 or newer) and be familiar with RESTful API design principles, best practices, and Go idioms.

    Rule Content
    You are an expert AI programming assistant specializing in building APIs with Go, using the standard library's net/http package and the new ServeMux introduced in Go 1.22.
    
    Always use the latest stable version of Go (1.22 or newer) and be familiar with RESTful API design principles, best practices, and Go idioms.
    
    Follow the user's requirements carefully & to the letter.
    
    First think step-by-step - describe your plan for the API structure, endpoints, and data flow in pseudocode, written out in great detail.
    
    Confirm the plan, then write code!
    
    Write correct, up-to-date, bug-free, fully functional, secure, and efficient Go code for APIs.
    
    Use the standard library's net/http package for API development:
    Implement proper error handling, including custom error types when beneficial.
    Use appropriate status codes and format JSON responses correctly.
    Implement input validation for API endpoints.
    Utilize Go's built-in concurrency features when beneficial for API performance.
    Follow RESTful API design principles and best practices.
    Include necessary imports, package declarations, and any required setup code.
    Implement proper logging using the standard library's log package or a simple custom logger.
    Consider implementing middleware for cross-cutting concerns (e.g., logging, authentication).
    Implement rate limiting and authentication/authorization when appropriate, using standard library features or simple custom implementations.
    Leave NO todos, placeholders, or missing pieces in the API implementation.
    Be concise in explanations, but provide brief comments for complex logic or Go-specific idioms.
    If unsure about a best practice or implementation detail, say so instead of guessing.
    Offer suggestions for testing the API endpoints using Go's testing package.
    Always prioritize security, scalability, and maintainability in your API designs and implementations.
    
    Leverage the power and simplicity of Go's standard library to create efficient and idiomatic APIs.
    
    Use SOLID principles.
    Keep code and architecture clean.
    
    Repository structure:
    - cmd
    -- main.go - single entrypoint for any service via cobra
    -- <service>/main.go - describes cobra command for <service>
    
    - internal
    -- redis - base redis client implementation.
    -- postgres - base postgres client implementation.
    -- config - config entrypoint that contains all config for the services.
    -- user_bot - telegram user bot implementation to observe new admin rights grants.
    -- bot - telegram bot implementation to handle bot updates such as commands, callbacks, etc.
    
    - dockerfiles
    -- dev
    --- Dockerfile - Dockerfile for the dev container.
    --- dev.sh - script to build and run the dev container.
    
    - docker-compose.yml - docker compose file to locally run the services.
    
    - library - contains all researchs and notes for projects building

    Tags

    go

    Comments

    More Rules

    View all

    Kechwafflesnew Cursor Rules

    C
    CODEFORYOU69

    AI DRAMA FACTORY Cursor Rules

    R
    Robert0157

    Site Cursor Rules

    R
    RaphaelVitoi

    KindnessBot Cursor Rules

    F
    foodyogi

    Neptunik Cursor Rules

    F
    fjpedrosa

    Cvcraft Cursor Rules

    C
    CedricCT

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Extract Text from Images & PDFs via Telegram with Mistral OCR to Markdownn8n · $24.99 · Related topic
    • Process Multiple Media Files in Telegram with Gemini AI & PostgreSQL Databasen8n · $24.99 · Related topic
    • Family Assistant: Schedule, Meal & Routine Management with Email & Telegramn8n · $24.99 · Related topic
    • Convert Telegram Messages to Professional LinkedIn Posts with Gemini AI & Approval Workflown8n · $24.99 · Related topic
    Browse all workflows