diff options
Diffstat (limited to 'srv/src/post')
-rw-r--r-- | srv/src/post/post.go | 6 |
1 files changed, 0 insertions, 6 deletions
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 { |