summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorHimanshu Sardana <himanshusardana2005@gmail.com>2026-03-16 18:49:08 +0000
committerHimanshu Sardana <himanshusardana2005@gmail.com>2026-03-16 18:49:08 +0000
commit6e5f39603b81e2e4bcae235560d12d648a7c8e30 (patch)
tree2eb34ef34b11da6d3dcceacb1bedb1898c2a4cd8 /main.go
parentaab7785817f35c1e1a85dfbff733480c550c4e3c (diff)
fix: logging qol
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index d12fd01..8f215ec 100644
--- a/main.go
+++ b/main.go
@@ -19,11 +19,11 @@ func main() {
for _, f := range files {
filePath := filepath.Join(path, f.Name())
if !f.IsDir() && strings.HasSuffix(f.Name(), ".md") {
- fmt.Printf("Found content: %s", f.Name())
+ fmt.Printf("Found content: %s\n", filePath)
htmlContent := convertToHtml(filePath)
htmlPath := strings.Replace(filePath, ".md", ".html", 1)
os.WriteFile(htmlPath, htmlContent, 0o777)
- fmt.Printf("Wrote file: %s", htmlPath)
+ fmt.Printf("Wrote file: %s\n", htmlPath)
}
}
}