Go Paste

Paste Go Code and Panic Stack Traces, Highlighted

Share Go code snippets with syntax highlighting. Stack traces, struct definitions, gofmt'd functions — all preserved.

The two things Go developers most often need to share are gofmt'd source and panic stack traces — and both are exactly what chat tools wreck. A goroutine dump is a tall, indentation-sensitive block where every line matters for diagnosis; paste it into Slack and the alignment collapses, the goroutine N [running]: headers blur into the frames, and the person reading it can't tell which frame is yours versus the runtime's. files.link renders Go through highlight.js so struct definitions, interface satisfaction, channel ops, struct tags, error wrapping, and modern generics all keep their shape, and a pasted panic trace stays readable line by line.

For a stack trace specifically: paste the full panic: ... block and select Go (or plain text if the trace is mostly addresses and paths). The frame structure — function name, then the file:line on the next line — survives intact, so a reviewer can walk from the panic site down through the call chain without reconstructing line breaks by hand. That's the difference between someone diagnosing your deadlock in two minutes and asking you to re-send it 'properly formatted.'

For source, the common cases all render cleanly: a gofmt-aligned struct with tags, a generic constraint with [T any], a select over channels, a table-driven test, or a snippet showing how an error is wrapped with %w. Because it's a paste and not a compiler, files.link doesn't run the code — when you want to actually execute something, the Go Playground is the tool; when you want to *share* the source or a crash, a paste link is.

No signup to create or read, so a teammate opens it instantly. Anonymous pastes hold 100KB and expire after 24 hours; a typical stack trace or snippet is well under that. Sign in for 1MB — handy for a long verbose-test dump or a big goroutine trace from a hung service — and an expiry of your choosing up to permanent for an example you'll link from a docs page or an issue. A Gist demands a login to post; a Slack block can't be opened outside the workspace. A paste link just works and keeps the structure.

Benefits With No Complexity

Global CDN delivery

Your files are served from 450+ edge locations worldwide.

Edge-cached worldwide

Files are cached close to your users for fast delivery.

Signed-URL security

Private files stay protected with time-limited access.

What You Get

Unlimited files

Upload as many files as you need.

Unlimited storage

There is no storage limit.

Public + Private storage

Private files are fully secured.

CDN ready links

Upload directly to 450+ edge locations worldwide.

Prepaid credits

No subscription. Pay only for the storage and bandwidth you use.

More coming soon

We have plenty of features coming!

How files.link Works

1. Upload

Create a project and upload your first file.

2. Copy

Copy the CDN link.

3. Use Anywhere

Paste and enjoy the blazing speed.

Why Developers Choose files.link

A Better Way to Store & Deliver Files

GitHub GistGo PlaygroundSlack code blockfiles.link
Create + read with no signup
Panic stack traces stay aligned
Generics / struct tags highlighted
Compiles / runs the code
Choose expiry (1h to permanent)

Calculate Your Needs

Storage

0GB

Egress

0GB

CDN Bandwidth

0GB
Total: $0.000/month

Paste Go Code

  • Global CDN delivery
  • Edge-cached worldwide
  • Signed-URL security
  • Unlimited files
  • Unlimited storage
  • Public + Private storage
  • No subscription — prepaid credits keep spend predictable
Create a Paste

Frequently Asked Questions

Will a panic stack trace stay readable?
Yes. Paste the full panic block and pick Go or plain text. The frame structure (function, then file:line) keeps its line breaks so a reviewer can walk the call chain without re-formatting.
Does it compile or run my Go code?
No. Use the Go Playground to run code. files.link is for sharing the source or a crash dump with formatting and highlighting intact.
Are generics highlighted correctly?
Yes. highlight.js covers modern Go including type parameters and constraints, plus struct tags, channel ops, and error-wrapping verbs.
Big goroutine dump — will it fit?
100KB anonymous covers most traces; sign in for 1MB if you're sharing a full dump from a hung service, plus a choice of expiry up to permanent.
General Questions
Is there a subscription?
No. files.link uses prepaid credits, so storage, bandwidth, and API usage are deducted from your balance as you go. The app explains the payment step before uploads are enabled — no monthly subscription and no per-user fees.
What is files.link?
files.link is a developer-first file platform that makes it simple to store, secure, and deliver files globally. It provides signed URLs, public/private access, and an API-first design so you can integrate file delivery into any app without the usual complexity.
How does billing work?
files.link uses prepaid credits. As you use storage, bandwidth, and API requests, credits are deducted daily. When your balance runs low, we automatically recharge it using your saved card. If an auto-recharge doesn't go through, your files and links stay put — you simply update your payment method or top up manually to keep going. No monthly subscriptions — just simple usage-based pricing.
How secure is my data?
All files are encrypted at rest and in transit. You can use signed URLs for private files, control access with permissions, and rely on enterprise-grade infrastructure for data protection.

Related

files.link
Copyright © 2026
All rights reserved
ContactGuidesGlossaryStatusLegal