Skip to content

Commit 73c7f55

Browse files
First bug fix
1 parent 22a8aac commit 73c7f55

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# CodeTodox
1+
# codetodocx
22

3-
A smart Go package that exports your code to Microsoft Word documents. CodeTodox automatically detects if you're in a git repository and exports only changed files, or exports the entire project if it's not a git repository.
3+
A smart Go package that exports your code to Microsoft Word documents. codetodocx automatically detects if you're in a git repository and exports only changed files, or exports the entire project if it's not a git repository.
44

55
## Features
66

@@ -14,7 +14,7 @@ A smart Go package that exports your code to Microsoft Word documents. CodeTodox
1414
## Installation
1515

1616
```bash
17-
go get github.com/Karthikeya-Akhandam/codetodox
17+
go get github.com/Karthikeya-Akhandam/codetodocx
1818
```
1919

2020
## Usage
@@ -26,12 +26,12 @@ package main
2626

2727
import (
2828
"fmt"
29-
"github.com/Karthikeya-Akhandam/codetodox"
29+
"github.com/Karthikeya-Akhandam/codetodocx"
3030
)
3131

3232
func main() {
3333
// One function call - automatically does the smart thing!
34-
err := codetodox.ExportProject("./myproject", "mycode.docx")
34+
err := codetodocx.ExportProject("./myproject", "mycode.docx")
3535
if err != nil {
3636
fmt.Println("Error:", err)
3737
}
@@ -59,7 +59,7 @@ The `ExportProject()` function is intelligent and automatically:
5959

6060
## Git Integration
6161

62-
CodeTodox automatically detects git repositories and exports files with the following status:
62+
codetodocx automatically detects git repositories and exports files with the following status:
6363

6464
- **M** - Modified files
6565
- **A** - Added files
@@ -112,4 +112,4 @@ Created by [Karthikeya Akhandam](https://github.com/Karthikeya-Akhandam)
112112

113113
---
114114

115-
**CodeTodox** - Smart code export to Word documents! 📄✨
115+
**codetodocx** - Smart code export to Word documents! 📄✨

cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/Karthikeya-Akhandam/codetodox"
6+
"github.com/Karthikeya-Akhandam/codetodocx"
77
)
88

99
func main() {
1010
projectFolderPath := ".." // Project folder
1111
outputDocxPath := "kisanlink_erp_code_export.docx" // Output file
1212

1313
fmt.Println("Exporting project...")
14-
err := codetodox.ExportProject(projectFolderPath, outputDocxPath)
14+
err := codetodocx.ExportProject(projectFolderPath, outputDocxPath)
1515
if err != nil {
1616
fmt.Println("Error exporting project:", err)
1717
} else {

codetodox.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package codetodox
1+
package codetodocx
22

33
import (
44
"bufio"
@@ -115,7 +115,7 @@ func getGitChangedFiles(projectFolder string) (map[string]bool, error) {
115115

116116
// ExportProject exports the project to a Word document
117117
// Automatically detects if it's a git repo and exports only changed files, otherwise exports entire project
118-
// Usage: codetodox.ExportProject("path/to/project", "output.docx")
118+
// Usage: codetodocx.ExportProject("path/to/project", "output.docx")
119119
func ExportProject(projectFolder, outputDocx string) error {
120120
var doc *document.Document
121121
var isGitRepo bool

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/Karthikeya-Akhandam/codetodox
1+
module github.com/Karthikeya-Akhandam/codetodocx
22

33
go 1.24.4
44

0 commit comments

Comments
 (0)