Initial Commit

This commit is contained in:
James Mills
2017-07-02 23:42:34 -07:00
commit 3c42d7d878
13 changed files with 369 additions and 0 deletions

14
templates/index.html Normal file
View File

@@ -0,0 +1,14 @@
<html>
<head>
<title>pastebin</title>
</head>
<body>
<p>Enter your text here:</p>
<form method="POST" action="">
<textarea name="blob" cols=80 rows=24></textarea>
<input type="submit">
</form>
</body>
</html>

10
templates/view.html Normal file
View File

@@ -0,0 +1,10 @@
<html>
<head>
<title>pastebin</title>
</head>
<body>
<pre>{{.Blob}}</pre>
</body>
</html>