From 1242be7cfec1faa6a880d625307e32a1a91937ac Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 20 May 2022 08:36:52 -0600 Subject: Implement posts index page --- srv/src/post/post.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'srv/src/post') diff --git a/srv/src/post/post.go b/srv/src/post/post.go index 3eab9bc..766a543 100644 --- a/srv/src/post/post.go +++ b/srv/src/post/post.go @@ -36,12 +36,6 @@ type Post struct { Body string } -// HTTPPath returns the relative URL path of the StoredPost, when querying it -// over HTTP. -func (p Post) HTTPPath() string { - return fmt.Sprintf("%s.html", p.ID) -} - // StoredPost is a Post which has been stored in a Store, and has been given // some extra fields as a result. type StoredPost struct { -- cgit v1.2.3