File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ GOOS = ""
1515GOARCH = ""
1616GO_PKGROOT = ./...
1717GO_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
2020build : # # Build binary
2121 env GO111MODULE=on GOOS=$(GOOS ) GOARCH=$(GOARCH ) $(GO_BUILD ) $(GO_LDFLAGS ) -o $(APP ) main.go
Original file line number Diff line number Diff 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```
109109package main
110110
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package cmd
33import (
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)
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1- module github.com/nao1215/hsc
1+ module github.com/nao1215/http-status-code
22
33go 1.19
44
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package http_test
33import (
44 "fmt"
55
6- "github.com/nao1215/hsc /http"
6+ "github.com/nao1215/http-status-code /http"
77)
88
99func Example () {
Original file line number Diff line number Diff line change 11package main
22
3- import "github.com/nao1215/hsc /cmd"
3+ import "github.com/nao1215/http-status-code /cmd"
44
55func main () {
66 cmd .Execute ()
You can’t perform that action at this time.
0 commit comments