From ac16a3f167e983b8d5dba87d1e790ba95ebd6620 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Mon, 9 Dec 2024 12:35:54 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Fill=20out=20cmd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/defrag/main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/defrag/main.go b/cmd/defrag/main.go index 29ac7ed..e620e91 100644 --- a/cmd/defrag/main.go +++ b/cmd/defrag/main.go @@ -29,8 +29,12 @@ func main() { blocks, err := defrag.Blocks(input) handleErr(err) + err = defrag.Defrag(blocks) + handleErr(err) + + fmt.Println("From this") + fmt.Printf("%s\n", input) - fmt.Println("@TODO") fmt.Println("Got this") fmt.Printf("%s\n", blocks) }