Skip to content

Commit

Permalink
[FIX] Fix incorrect import paths and update Go module dependencies
Browse files Browse the repository at this point in the history
- Corrected import paths in all project files.
- Ensured proper module path in go.mod.
- Cleaned and updated dependencies using `go mod tidy`.
- Resolved issues with missing module versions and linter errors caused by incorrect imports.
  • Loading branch information
atlet99 committed Oct 3, 2024
1 parent 61e8919 commit 8a8f2d5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
3 changes: 2 additions & 1 deletion env/env_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ package env
import (
"fmt"
"os"
"resume-generator/models"

"github.com/atlet99/resume-generator/models"

"github.com/joho/godotenv"
)
Expand Down
3 changes: 2 additions & 1 deletion formats/doc_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package formats

import (
"log"
"resume-generator/models"

"github.com/atlet99/resume-generator/models"

"github.com/unidoc/unioffice/document"
)
Expand Down
3 changes: 2 additions & 1 deletion formats/pdf_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package formats

import (
"log"
"resume-generator/models"

"github.com/atlet99/resume-generator/models"

"github.com/signintech/gopdf"
)
Expand Down
9 changes: 5 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package main
import (
"log"
"os"
"resume-generator/env"
"resume-generator/formats"
"resume-generator/models"
"resume-generator/utils"
"strings"
"text/template"

"github.com/atlet99/resume-generator/resume-generator/env"
"github.com/atlet99/resume-generator/resume-generator/formats"
"github.com/atlet99/resume-generator/resume-generator/models"
"github.com/atlet99/resume-generator/resume-generator/utils"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion utils/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package utils

import (
"fmt"
"resume-generator/models"

"github.com/atlet99/resume-generator/models"
)

func ValidateMandatoryFields(resume models.Resume) error {
Expand Down

0 comments on commit 8a8f2d5

Please sign in to comment.