Skip to content

Commit

Permalink
style: adjust code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhufuyi committed Dec 11, 2024
1 parent 898498e commit 15ea4e0
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 458 deletions.
17 changes: 0 additions & 17 deletions .github/.goreleaser.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/RELEASE.md

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/go.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#### Install spograph

```bash
go install github.com/dev-frame/spograph@latest
go install github.com/go-dev-frame/spograph@latest
```

#### Example of Use
Expand Down
2 changes: 1 addition & 1 deletion generate/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"path/filepath"

"github.com/dev-frame/spograph/pkg/gofile"
"github.com/go-dev-frame/spograph/pkg/gofile"
)

// ListSubDirs lists all subdirectories of the given root directory that have the given subdirectory name.
Expand Down
4 changes: 2 additions & 2 deletions generate/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/goccy/go-graphviz/cgraph"
"github.com/spf13/cobra"

"github.com/dev-frame/spograph/pkg/conf"
"github.com/dev-frame/spograph/pkg/gofile"
"github.com/go-dev-frame/spograph/pkg/conf"
"github.com/go-dev-frame/spograph/pkg/gofile"
)

// GenGraphCommand generate graph command
Expand Down
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/dev-frame/spograph
module github.com/go-dev-frame/spograph

go 1.20

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

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fogleman/gg v1.3.0 // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
Expand All @@ -24,7 +22,6 @@ require (
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/afero v1.9.2 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/dev-frame/spograph/generate"
"github.com/go-dev-frame/spograph/generate"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/conf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Parsing yaml, json, toml configuration files to go struct.
### Example of use

```go
import "github.com/dev-frame/spograph/pkg/conf"
import "github.com/go-dev-frame/spograph/pkg/conf"

// Way 1: No listening configuration file
config := &App{}
Expand Down
87 changes: 0 additions & 87 deletions pkg/conf/parse_test.go

This file was deleted.

57 changes: 0 additions & 57 deletions pkg/gofile/fileContent.go

This file was deleted.

34 changes: 0 additions & 34 deletions pkg/gofile/fileContent_test.go

This file was deleted.

Loading

0 comments on commit 15ea4e0

Please sign in to comment.