Skip to content

Commit 19b4478

Browse files
committed
Move files to internal model directory
1 parent 7b79769 commit 19b4478

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/commit-message.go renamed to internal/model/commit-message.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package src
1+
package model
22

33
import (
44
"regexp"

src/commit-message_test.go renamed to internal/model/commit-message_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package src
1+
package model
22

33
import (
44
"github.com/stretchr/testify/assert"

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/rockstaedt/txtreader"
77
"log"
88
"os"
9-
"rockstaedt/commit-message-check/src"
9+
"rockstaedt/commit-message-check/internal/model"
1010
)
1111

1212
const (
@@ -31,7 +31,7 @@ func main() {
3131
log.Printf("[ERROR]\t Could not read commit message lines: %q", err.Error())
3232
os.Exit(1)
3333
}
34-
cm, err := src.CreateCommitMessageFrom(commitLines)
34+
cm, err := model.CreateCommitMessageFrom(commitLines)
3535
if err != nil {
3636
log.Printf("[ERROR]\t Could not create object: %q", err.Error())
3737
os.Exit(2)

0 commit comments

Comments
 (0)