Skip to content

Commit

Permalink
Remove temp code
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <[email protected]>
  • Loading branch information
rohit-nayak-ps committed Dec 11, 2024
1 parent f24f97d commit 22e70a0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions go/web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,6 @@ func Run(port int64) {
DateOfAnalysis: time.Now().Format(time.DateTime),
}

{
// FIXME: remove before merging, for debugging only
pretty, err := json.MarshalIndent(summarizeOutput, "", " ")
if err != nil {
fmt.Println("Error:", err)
return
}
if err := os.WriteFile("web.json", pretty, 0o600); err != nil {
panic(err)
}
}

RenderFileToGin("summarize.html", &summarizeOutput, c)
})

Expand Down

0 comments on commit 22e70a0

Please sign in to comment.