A simple pastebin application written in Go

post.html 322B

12345678910111213141516171819202122
  1. <html>
  2. <head>
  3. <title>gopaste</title>
  4. <style>
  5. body {
  6. font-size: 120%;
  7. }
  8. article {
  9. white-space: pre-wrap;
  10. word-break: break-word;
  11. margin: 0 auto;
  12. max-width: 40em;
  13. font-family: serif;
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <h1><a href="/">gopaste</a></h1>
  19. <article>{{.}}</article>
  20. </body>
  21. </html>