Skip to content

Commit c6597a8

Browse files
committed
Update module import path
1 parent 84bfa5d commit c6597a8

10 files changed

Lines changed: 28 additions & 10 deletions

File tree

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Binaries for programs and plugins
2+
*.exe
3+
*.exe~
4+
*.dll
5+
*.so
6+
*.dylib
7+
8+
# Test binary, built with `go test -c`
9+
*.test
10+
11+
# Output of the go coverage tool, specifically when used with LiteIDE
12+
*.out
13+
14+
# Dependency directories (remove the comment below to include it)
15+
# vendor/
16+
hsc
17+
dist/
18+
cover.html

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ GOOS = ""
1515
GOARCH = ""
1616
GO_PKGROOT = ./...
1717
GO_PACKAGES = $(shell $(GO_LIST) $(GO_PKGROOT))
18-
GO_LDFLAGS = -ldflags '-X github.com/nao1215/hsc/cmd.Version=${VERSION}'
18+
GO_LDFLAGS = -ldflags '-X github.com/nao1215/http-status-code/cmd.Version=${VERSION}'
1919

2020
build: ## Build binary
2121
env GO111MODULE=on GOOS=$(GOOS) GOARCH=$(GOARCH) $(GO_BUILD) $(GO_LDFLAGS) -o $(APP) main.go

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ $ hsc list
104104
+------------------+---------------------------------+--------------------------+
105105
```
106106

107-
### Use github.com/nao1215/hsc/http package
107+
### Usegithub.com/nao1215/http-status-code/http package
108108
```
109109
package main
110110

cmd/list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package cmd
33
import (
44
"os"
55

6-
"github.com/nao1215/hsc/http"
7-
"github.com/nao1215/hsc/internal/print"
6+
"github.com/nao1215/http-status-code/http"
7+
"github.com/nao1215/http-status-code/internal/print"
88
"github.com/olekukonko/tablewriter"
99
"github.com/spf13/cobra"
1010
)

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"runtime"
99
"strings"
1010

11-
"github.com/nao1215/hsc/internal/print"
11+
"github.com/nao1215/http-status-code/internal/print"
1212
"github.com/spf13/cobra"
1313
)
1414

cmd/search.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"fmt"
66
"os"
77

8-
"github.com/nao1215/hsc/http"
8+
"github.com/nao1215/http-status-code/http"
99

10-
"github.com/nao1215/hsc/internal/print"
10+
"github.com/nao1215/http-status-code/internal/print"
1111
"github.com/spf13/cobra"
1212
)
1313

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/nao1215/hsc
1+
module github.com/nao1215/http-status-code
22

33
go 1.19
44

hsc

-4.53 MB
Binary file not shown.

http/examples_test.go

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

6-
"github.com/nao1215/hsc/http"
6+
"github.com/nao1215/http-status-code/http"
77
)
88

99
func Example() {

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package main
22

3-
import "github.com/nao1215/hsc/cmd"
3+
import "github.com/nao1215/http-status-code/cmd"
44

55
func main() {
66
cmd.Execute()

0 commit comments

Comments
 (0)