Skip to content

Commit

Permalink
package 📦 (go.mod): updated go version and project name in the init file
Browse files Browse the repository at this point in the history
  • Loading branch information
muandane committed Nov 16, 2023
1 parent 65633ee commit 1a75e48
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builds:
flags:
- -mod=vendor
ldflags:
- -s -w -X goji/cmd.version={{.Version}}
- -s -w -X github.com/muandane/goji/cmd.version={{.Version}}

release:
prerelease: auto
Expand Down
5 changes: 3 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import (
"encoding/json"
"fmt"

"goji/pkg/config"
"goji/pkg/utils"
"log"
"os"
"os/exec"
"path/filepath"
"strings"

"github.com/muandane/goji/pkg/config"
"github.com/muandane/goji/pkg/utils"

"github.com/fatih/color"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module goji
module github.com/muandane/goji

go 1.20
go 1.21.3

require (
github.com/AlecAivazis/survey/v2 v2.3.7
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"goji/cmd"
"github.com/muandane/goji/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/configType.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package config

import "goji/pkg/models"
import "github.com/muandane/goji/pkg/models"

type Config struct {
Types []models.CommitType
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/askQuestions.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package utils
import (
"fmt"

"goji/pkg/config"
"github.com/muandane/goji/pkg/config"

"github.com/AlecAivazis/survey/v2"
)
Expand Down
6 changes: 4 additions & 2 deletions pkg/utils/commitMessage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ package utils

import (
"errors"
"goji/pkg/config"
"goji/pkg/models"
"testing"

"github.com/muandane/goji/pkg/models"

"github.com/muandane/goji/pkg/config"

"github.com/AlecAivazis/survey/v2"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
Expand Down

0 comments on commit 1a75e48

Please sign in to comment.