diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-07-18 16:07:09 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-07-18 16:07:09 -0400 |
| commit | 46c6d75da4768c81258d05a4965f99c0db0b3bb4 (patch) | |
| tree | af865d30cf296c12d3e49b2abde6f2e8f69411f6 /page/page.go | |
| parent | f2082a0d72f9359be02182883a1e1190d8b1b215 (diff) | |
| download | go-website-46c6d75da4768c81258d05a4965f99c0db0b3bb4.tar.gz go-website-46c6d75da4768c81258d05a4965f99c0db0b3bb4.tar.xz | |
Patch it up more
Diffstat (limited to 'page/page.go')
| -rw-r--r-- | page/page.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/page/page.go b/page/page.go index 5604f1c..52a441c 100644 --- a/page/page.go +++ b/page/page.go @@ -177,9 +177,3 @@ func (p *Page) RenderBody() (string, error) { func (p Page) String() string { return fmt.Sprintf("Page: %s", p.path) } - -// StringDetail prints a detailed string of the page -func (p Page) StringDetail() string { - b, _ := json.MarshalIndent(p, "", " ") - return fmt.Sprintf("Page: %s\n%s\n", p.path, b) -} |
