Skip to content

Commit

Permalink
Change go module path
Browse files Browse the repository at this point in the history
  • Loading branch information
ypjama committed Oct 15, 2023
1 parent 22cad8e commit 7b0121c
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ linters-settings:
- '!$test'
allow:
- '$gostd'
- 'conflictless-keepachangelog/internal/pkg'
- 'conflictless-keepachangelog/pkg/schema'
- 'github.com/ypjama/conflictless-keepachangelog/internal/pkg'
- 'github.com/ypjama/conflictless-keepachangelog/pkg/schema'
- 'github.com/xeipuuv/gojsonschema'
- 'gopkg.in/yaml.v3'
tests:
files:
- '$test'
allow:
- '$gostd'
- 'conflictless-keepachangelog/internal/pkg'
- 'conflictless-keepachangelog/pkg'
- 'github.com/ypjama/conflictless-keepachangelog/internal/pkg'
- 'github.com/ypjama/conflictless-keepachangelog/pkg'
- 'github.com/stretchr/testify/assert'
2 changes: 1 addition & 1 deletion cmd/conflictless/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "conflictless-keepachangelog/internal/pkg/conflictless"
import "github.com/ypjama/conflictless-keepachangelog/internal/pkg/conflictless"

func main() {
conflictless.CLI()
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module conflictless-keepachangelog
module github.com/ypjama/conflictless-keepachangelog

go 1.21.3

Expand Down
3 changes: 2 additions & 1 deletion internal/pkg/conflictless/changelog_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package conflictless_test

import (
"conflictless-keepachangelog/internal/pkg/conflictless"
"os"
"testing"

"github.com/ypjama/conflictless-keepachangelog/internal/pkg/conflictless"

"github.com/stretchr/testify/assert"
)

Expand Down
3 changes: 2 additions & 1 deletion internal/pkg/conflictless/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package conflictless

import (
"bufio"
"conflictless-keepachangelog/pkg/schema"
"fmt"
"io/fs"
"os"
"path/filepath"

"github.com/ypjama/conflictless-keepachangelog/pkg/schema"
)

func readChangeFiles(dir string) ([]fs.DirEntry, error) {
Expand Down
3 changes: 2 additions & 1 deletion internal/pkg/conflictless/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package conflictless

import (
"bytes"
"conflictless-keepachangelog/pkg/schema"
"fmt"
"time"

"github.com/ypjama/conflictless-keepachangelog/pkg/schema"
)

func generate(cfg *Config) {
Expand Down
3 changes: 2 additions & 1 deletion internal/pkg/conflictless/link_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package conflictless_test

import (
"conflictless-keepachangelog/internal/pkg/conflictless"
"testing"

"github.com/ypjama/conflictless-keepachangelog/internal/pkg/conflictless"

"github.com/stretchr/testify/assert"
)

Expand Down
3 changes: 2 additions & 1 deletion internal/pkg/conflictless/parse_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package conflictless_test

import (
"conflictless-keepachangelog/internal/pkg/conflictless"
"os"
"testing"

"github.com/ypjama/conflictless-keepachangelog/internal/pkg/conflictless"

"github.com/stretchr/testify/assert"
)

Expand Down
3 changes: 2 additions & 1 deletion pkg/schema/schema_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package schema_test

import (
"conflictless-keepachangelog/pkg/schema"
"errors"
"testing"

"github.com/ypjama/conflictless-keepachangelog/pkg/schema"

"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit 7b0121c

Please sign in to comment.