From 8dc7a3f7d15a3011e24410635f307c417f9ebb84 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 23 Jun 2016 21:00:46 +1000 Subject: [PATCH] Add home to struct --- assets/paste.html | 2 +- main.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/paste.html b/assets/paste.html index cdac78d..19fc1d2 100644 --- a/assets/paste.html +++ b/assets/paste.html @@ -36,7 +36,7 @@
- Home + Home Raw
diff --git a/main.go b/main.go index 0aafe02..a9f1101 100644 --- a/main.go +++ b/main.go @@ -41,7 +41,8 @@ type Response struct { type Page struct { Title string Body []byte - Link string + Raw string + Home string } func check(err error) {