Skip to content

Commit 15ea4e0

Browse files
committed
style: adjust code
1 parent 898498e commit 15ea4e0

File tree

15 files changed

+7
-458
lines changed

15 files changed

+7
-458
lines changed

.github/.goreleaser.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/RELEASE.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/go.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#### Install spograph
88

99
```bash
10-
go install github.com/dev-frame/spograph@latest
10+
go install github.com/go-dev-frame/spograph@latest
1111
```
1212

1313
#### Example of Use

generate/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"os"
55
"path/filepath"
66

7-
"github.com/dev-frame/spograph/pkg/gofile"
7+
"github.com/go-dev-frame/spograph/pkg/gofile"
88
)
99

1010
// ListSubDirs lists all subdirectories of the given root directory that have the given subdirectory name.

generate/graph.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"github.com/goccy/go-graphviz/cgraph"
1212
"github.com/spf13/cobra"
1313

14-
"github.com/dev-frame/spograph/pkg/conf"
15-
"github.com/dev-frame/spograph/pkg/gofile"
14+
"github.com/go-dev-frame/spograph/pkg/conf"
15+
"github.com/go-dev-frame/spograph/pkg/gofile"
1616
)
1717

1818
// GenGraphCommand generate graph command

go.mod

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/dev-frame/spograph
1+
module github.com/go-dev-frame/spograph
22

33
go 1.20
44

@@ -8,11 +8,9 @@ require (
88
github.com/goccy/go-graphviz v0.1.3
99
github.com/spf13/cobra v1.8.1
1010
github.com/spf13/viper v1.12.0
11-
github.com/stretchr/testify v1.8.3
1211
)
1312

1413
require (
15-
github.com/davecgh/go-spew v1.1.1 // indirect
1614
github.com/fogleman/gg v1.3.0 // indirect
1715
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
1816
github.com/hashicorp/hcl v1.0.0 // indirect
@@ -24,7 +22,6 @@ require (
2422
github.com/pelletier/go-toml v1.9.5 // indirect
2523
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
2624
github.com/pkg/errors v0.9.1 // indirect
27-
github.com/pmezard/go-difflib v1.0.0 // indirect
2825
github.com/spf13/afero v1.9.2 // indirect
2926
github.com/spf13/cast v1.5.0 // indirect
3027
github.com/spf13/jwalterweatherman v1.1.0 // indirect

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"os"
55

6-
"github.com/dev-frame/spograph/generate"
6+
"github.com/go-dev-frame/spograph/generate"
77
)
88

99
func main() {

pkg/conf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Parsing yaml, json, toml configuration files to go struct.
77
### Example of use
88

99
```go
10-
import "github.com/dev-frame/spograph/pkg/conf"
10+
import "github.com/go-dev-frame/spograph/pkg/conf"
1111

1212
// Way 1: No listening configuration file
1313
config := &App{}

pkg/conf/parse_test.go

Lines changed: 0 additions & 87 deletions
This file was deleted.

pkg/gofile/fileContent.go

Lines changed: 0 additions & 57 deletions
This file was deleted.

pkg/gofile/fileContent_test.go

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)