PastebinGo /

Filename Size Date modified Message
57 B
1.1 KB
265 B
643 B
2.6 KB
1.6 KB
1.3 KB
2.2 KB
2.4 KB
2.3 KB
876 B
2.2 KB
1.0 KB
864 B
1018 B


Simple pastebin build with Go lang

Learning project.


  • Adding pastes
  • Displaying archived pastes
  • Syntax highlighting (with highlight.js)
  • User accounts

Requests or bugs?


In root folder:

go get .


go get
go get
go get
go get
go get
go get
go get

Then for use with SQLite:

go build -tags sqlite

or if you want MySql first update file config.go and then:

go build -tags mysql

Now run program and open in browser.


The source files are distributed under the Mozilla Public License, version 2.0, unless otherwise noted.
Please read the FAQ if you have further questions regarding the license.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.