diff options
| author | Himanshu Sardana <himanshusardana2005@gmail.com> | 2026-03-16 18:49:08 +0000 |
|---|---|---|
| committer | Himanshu Sardana <himanshusardana2005@gmail.com> | 2026-03-16 18:49:08 +0000 |
| commit | 6e5f39603b81e2e4bcae235560d12d648a7c8e30 (patch) | |
| tree | 2eb34ef34b11da6d3dcceacb1bedb1898c2a4cd8 /main.go | |
| parent | aab7785817f35c1e1a85dfbff733480c550c4e3c (diff) | |
fix: logging qol
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } } } |
