Loading…
Topic
Go
99 posts about Go. Every summary links to the original.
- 99 posts
- 20 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
GoLand Intelligence Now Available in Cursor and VS Code
JetBrains announced the public preview of the Go by GoLand LSP, an extension for VS Code-based editors including Cursor that uses the Language Server Protocol and Debug Adapter Protocol to bring GoLand’s project-wide code intelligence to general-purpose editors. The release responds to the growing use of coding agents, with 98.2% of Go developers using them in 2026, and aims to provide strong language support across multiple surfaces. Supported features include code navigation, analysis with inspections and quick-fixes, refactoring, debugging, testing, signature help, documentation on hover, and code completion. It analyzes the entire project rather than isolated files, and benchmarks on a 93-million-line repository showed jump-to-definition in 11 ms and memory usage of 833 MiB. The preview is free but each build expires after 30 days, and JetBrains plans to extend support for coding agents and gather feedback for a stable 1.0 release.
Implement Secure Cross App Access (XAA) in Go
Cross App Access (XAA) is an emerging standard that lets AI agents securely access other apps on a user’s behalf without shared credentials or consent screens. The post walks through building a Go web app called AI Notes Assistant that uses XAA to fetch a user’s to-do items from a protected MCP server and turn them into notes. The flow involves signing in with OIDC and PKCE, exchanging the ID token for an Identity Assertion Authorization Grant (ID-JAG) via RFC 8693, then exchanging that for a scoped access token via RFC 7523. The app uses the access token to call the MCP server’s Streamable HTTP transport and read the todo0://todos resource. The project is available on GitHub and runs against the xaa.dev playground for testing.
JetBrains Air in GoLand: Build, Review, and Profile Go Code With Agents
The post demonstrates using JetBrains Air in GoLand to build a webhook receiver service with AI agents. It starts with a brief defining the service: a single POST endpoint that stores events idempotently with signature verification. The author uses Codex to generate the core service, then reviews the diff against known security pitfalls like constant-time comparison and replay windows. Three follow-up tasks run in parallel worktrees: an SQLite store, additional tests, and signed test requests. After merging, the service is profiled using a new goland-profiler skill, which reveals regexp.MustCompile as a bottleneck. Moving the compilation to package level yields a 4.6x speedup with 59% fewer bytes per request.
Building a Secure MCP (Model Context Protocol) Server with Auth0.
An MCP server without an identity layer exposes internal data to any AI agent that reaches it, making proper authentication essential. This guide builds an MCP server in Go and secures it with Auth0 using OAuth 2.1, PKCE, and RBAC-backed scopes. The server validates bearer tokens against Auth0’s JWKS endpoint, checking signature, issuer, audience, and expiry before granting access. It enforces department-scoped access by requiring scopes like read:engineering or read:hr, returning 403 if the token lacks the required scope. The result is a server that only grants AI agents the data their user is authorized to see.
Migrating our Email API to Go
Resend migrated its email API from a Node.js service to Go over seven weeks and roughly 140 pull requests. The existing Node service suffered from failure modes where CPU-heavy request parsing and serialization blocked the event loop during bursts, and S3 timeouts surfaced as customer-facing errors. The new Go service was built to match the old API’s behavior exactly, using a test harness that compared responses, errors, database state, S3 objects, idempotency, and rate limits between the two implementations. During a 50% rollout, Go showed roughly half the median latency and about one-seventh the memory usage per task compared to Node, with 62% less CPU per request. The team also had to tune capacity, timeouts, and connection pools during the rollout, as lower average resource consumption did not predict burst requirements.
Catch Go bugs that fuzzing misses with Gemini and a constraint solver
The author built a pipeline that compiles Go functions to RISC-V assembly, feeds the source and disassembly to Gemini 4 Argon, and has the model write Z3 constraint-solver scripts targeting surviving bounds-check traps. Z3 returns a concrete crashing input when satisfiable, and go test replays that input against the real function. The workflow caught all three planted bugs in test parsers and three latent bugs in the skill-lint CLI. Fuzzing missed two of the planted crashes because spare slice capacity or multi-step precondition checks hid the crash. The approach trades away a full correctness proof for practical bug-finding value, with the LLM translation dominating the runtime at about a minute per function while Z3 finishes in milliseconds.
What's new for developers in Red Hat Enterprise Linux 10.3 and 9.9
Red Hat Enterprise Linux 10.3 and 9.9 are now available, bringing updated compilers, local AI troubleshooting, and container security features. The Model Context Protocol (MCP) server for RHEL, now generally available in the RHEL Extensions repository, lets local AI tools safely query system diagnostics and Performance Co-Pilot archives. Sealed images for image mode, reaching general availability in RHEL 10.3, use dm-verity and fs-verity with custom Secure Boot keys to verify system files on every read, blocking unauthorized modifications at runtime. Native post-quantum cryptography support in Go’s standard library provides NIST-standardized ML-KEM key exchange and ML-DSA digital signatures within TLS, protecting against future quantum decryption. Updated application streams deliver GCC 16, LLVM 22, Go 1.27, Rust 1.97, Node.js 26, .NET 11, and PHP 8.4, alongside glibc optimizations for per-thread cache handling and dynamic memory allocation in high-concurrency microservices.
The State of Go in 2026: What Changed In the Golang Ecosystem Since Last Year
The 2026 JetBrains survey reveals Go developers are experienced, with 66% having six or more years of coding experience versus 49% overall, and they earn higher salaries. The standard library net/http now leads web development at 46% usage, while TypeScript became Go’s top companion, rising to 43% in 2026 from 24% in 2024. AI coding agents are heavily adopted, with 86% of Gophers using them in the CLI at least weekly, yet 79% always review AI-generated code before accepting it. Testing is widespread, with 82% of Go developers writing tests for most or all projects, and go fix helps keep codebases modern. Major language updates in 2026 include generic methods, encoding/json/v2 with stricter defaults, UUID support in the standard library, and the Green Tea garbage collector.
Small Talk with Ulises Olave, CTO and Co-Founder of Fitia
Fitia, an AI-powered nutrition app backed by Y Combinator and founded in Peru in 2019, became Latin America’s top nutrition app with over 10 million users and is now scaling in the US. As the product grew, data became fragmented across four database types including PostgreSQL, BigQuery, Azure, and Redis, storing over 30 million monthly food logs plus weight, sleep, steps, and water data. DataGrip centralized all these databases into one interface, and its built-in AI features with context-aware chat reduced complex queries from hours to seconds, solving integrity and efficiency challenges. GoLand doubled development speed for Fitia’s Go microservices, enabling the small team to ship one major feature per month, three times faster than the previous pace. Fitia plans to leverage AI capabilities like photo-based food identification while building on top of large models, using their own community data to create personalized features while maintaining developer efficiency.
Reducing the noise: How Atlassian built an OCSF security lakehouse on Databricks
Atlassian faced a security data pipeline ingesting 44 billion events daily from 20 years of growth and acquisitions, each with proprietary logging formats. To unify this fragmented telemetry, the team standardized on the Open Cybersecurity Schema Framework (OCSF) and built a security lakehouse on Databricks. They embedded the entire OCSF schema into Go structs (TypeGo), guaranteeing compile-time correctness and reducing AI hallucinations during automated transformation. Table optimization with partitioning and Z-ORDER cut query times by 95%, and Graviton clusters with Photon reduced cost and runtime by two-thirds. The result was a self-service platform where SOC analysts can onboard new data sources in days, and detection teams moved from one-to-one alerts to signal-based clustering using standardized OCSF values.
Python vs Go: A Practical Comparison for Developers
The post compares Python and Go across language design, performance, tooling, and developer profiles, drawing on quantitative data from the JetBrains Developer Ecosystem 2026 survey of 28,945 respondents and qualitative interviews with developers who migrated production workloads from Python to Go. Python favors expressive code and rapid iteration, while Go emphasizes explicit, standardized code that is easy to maintain across teams. Go excels in raw performance and concurrency and is widely used in cloud infrastructure, whereas Python remains stronger for machine learning, data science, and scientific computing. Survey data shows that Go developers are typically more infrastructure-focused and senior, and that Go is rarely a first language, while Python is beginner-friendly with 10% of its developers coding for less than a year. Most teams use both languages, with Go for services and infrastructure and Python for AI and data workloads, and moving to Go rarely means abandoning Python.
Avoid Sending SMS to Landlines with the Lookup v2 API and Go
Sending SMS to landlines causes failed deliveries and unnecessary charges, a problem that Twilio’s Lookup v2 API solves by identifying phone number types. The API’s line_type_intelligence field returns a classification such as “mobile” or “landline”, enabling applications to filter out non-mobile numbers before sending an SMS. This Go tutorial loads Twilio credentials from a .env file and uses Go 1.23’s iter package to create a custom iterator over a phone number list. Within the iterator, each number is validated by calling FetchPhoneNumber with the line_type_intelligence parameter, and if the type is not “mobile” or the call fails, the number is skipped. Only mobile numbers are then passed to the sendSMS function, which sends the message using the Twilio Go helper library’s CreateMessage, and the terminal finally logs each success or identifies a skipped landline.
How to Create and Send vCards with Go
Sharing contact details by copying text between apps is ineffective compared to sending a vCard, a structured data format supported by major operating systems and email clients. This tutorial demonstrates creating vCards in Go using the go-vcard package, which handles fields such as formatted name, structured name, street address, telephone number, email address, and URL. The code writes the vCard to a .vcf file with version 4.0 using the go-vcard encoder and constants from the package, exiting on failure. The vCard file is uploaded to Twilio Assets, a static file hosting service bundled with every Twilio account, to make it publicly accessible for the SMS. The Twilio Go SDK sends an SMS with a message body and the vCard URL as a media attachment via the Programmable Messaging API, allowing recipients to open it in their contacts app.
How to Handle Errors in Go
Go treats errors as values rather than moving error handling outside normal control flow: functions return an error alongside other results, and callers check it. The guide presents the built-in error interface, returning errors with errors.New, wrapping failures with fmt.Errorf and %w, and distinguishing nil success from non-nil failure. It also explains panic and recover for unexpected failures, including deferred recovery in services that must continue handling other requests, while warning that panics should not replace ordinary error handling. Its best practices emphasize adding context, choosing informative custom error types, inspecting wrapped errors with errors.Is, errors.As, and errors.AsType, and logging errors when they are handled or cannot be returned. The conclusion recommends balancing early crashes with recovery when restarting is costly or when independent goroutines can continue safely.
Google for Developers Blog - News about Web, Mobile, AI and Cloud
The page presents six featured Google developer articles spanning multi-agent systems, content credentials, TPU optimization, agent plugins, Go, and Genkit Go. One article identifies bidirectional MCP, async event buses, unified validation, and tiered routing as recurring patterns in successful AI Agents Challenge submissions. Another introduces Credentio, an open-source C++ library for local-first C2PA validation, while a HeyGen case study reports a 1.86x speedup for Avatar IV on Trillium TPUs using torchax, XLA, FSDP, Ulysses sequence parallelism, and custom kernel/compiler optimizations. The collection also covers Agent Plugins 1.0.0’s plugin.json directory specification and Genkit Go’s progressive-disclosure Agent Skills based on SKILL.md bundles. A final article argues that Go’s compiler, toolchain, readability, and backward compatibility provide guardrails for reviewing and maintaining AI-generated software.
How to Use Svelte and Go to Build a Video Chat App
The tutorial builds a video chat application with a Svelte single-page frontend and Go REST API, using Twilio Video for room-based calls. Users enter a room name, the backend validates it, mints a Twilio Access Token with a VideoGrant, and the frontend uses that token to connect and attach local and remote video tracks. The backend loads credentials from .env.local, assigns each participant a random crypto/rand identity, enables CORS, and serves requests on port 8000; room names shorter than six characters receive a 400 response. The frontend uses Vite, the Twilio Video JavaScript SDK, and iziToast, while testing involves running both servers and joining the same room in two browser tabs. The completed app handles video communication without custom permission, real-time communication, or data-streaming code.
How Much Code Do Developers Really Let Agents Write?
JetBrains surveyed over 15,000 professional developers globally in 2026 to measure how much production code is generated by AI agents versus manual authoring. On average, respondents report that agents fully write approximately 47% of their code, while 38% involves AI assistance and 27% is written manually. Adoption varies across ecosystems, with Go, JavaScript, and TypeScript developers reporting the highest agentic code generation at 54% to 55%, while C and C++ developers retain the highest manual share. Senior developers lead adoption over juniors, with about a quarter delegating more than 80% of code generation to agents. Cluster analysis categorizes the developer population into agentic coders (31%), AI-assisted coders (47%), and manual coders (23%).
OpenTelemetry Comes to IntelliJ IDEA, GoLand, PyCharm, and WebStorm
With the 2026.2 release, JetBrains expanded its OpenTelemetry plugin from Rider to IntelliJ IDEA, GoLand, PyCharm, and WebStorm. The tool captures logs, metrics, traces, and service maps locally without requiring an external observability backend. Developers can search structured log records, plot metric values over time, inspect distributed spans, and verify communication paths across databases and message queues during local runs. To ingest telemetry, the plugin automatically configures OpenTelemetry Protocol environment variables for supported run configurations and terminal sessions, or accepts forwarded data from existing collectors. Additionally, experimental Model Context Protocol support allows AI coding agents to query gathered logs, spans, and service topology.
Building a data plane from scratch: Stripe’s own high-performance distributed proxy
Stripe replaced Envoy in its service mesh after reliability, connection-cardinality, rollout-risk, and customization problems became increasingly difficult at its scale. Mesh-proxy, a Go proxy, implements HTTP/1.1 and HTTP/2, connects directly to Stripe’s service registry, and supports retries, hedging, rate limiting, and dynamic priority-based routing. Unlike Envoy’s worker-per-core model, it uses one read and one write goroutine per connection and multiplexes requests over a shared connection, reducing connection counts from one per worker to one per host. Load tests and deployment results showed about half the CPU under high load and roughly 50% lower latency, equivalent to around 3,000 days of cumulative inter-service latency saved daily. Direct registry integration also reduced unnecessary xDS updates, while custom Ruby balancing added 15–20% headroom before bursts overwhelm machines; Stripe is now pursuing anomaly detection and smart routing.
Help AI Coding Agents Write Up-To-Date Code With Modern Golang Skills
AI coding agents often generate outdated Go patterns because older syntax dominates training data and new features fall past model cutoffs. To address this gap, the GoLand team released Modern Go Guidelines, an open-source set of skills and CLI tools covering Go 1.0 through Go 1.27. The tool inspects a project's go.mod file or a specific version flag to supply only the language features and standard library additions compatible with that environment. Using a progressive disclosure approach, the CLI provides concise rule identifiers via a list command and expands into before-and-after examples through an explain command. This mechanism minimizes token consumption while helping agents produce up-to-date, compilable code without modifying project files.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.