-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from yseto/refactor
Refactor
- Loading branch information
Showing
19 changed files
with
229 additions
and
350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,6 @@ all: build | |
deps-lint: | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
|
||
deps-test: | ||
go install github.com/tenntenn/testtime/cmd/testtime@latest | ||
|
||
fmt: | ||
go fmt ./... | ||
|
||
|
@@ -18,5 +15,5 @@ build: | |
go build | ||
|
||
test: | ||
go test -overlay=`testtime` -v ./... | ||
go test -v ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
module github.com/yseto/switch-traffic-to-mackerel | ||
|
||
go 1.20 | ||
go 1.22.4 | ||
|
||
require ( | ||
github.com/google/go-cmp v0.5.9 | ||
github.com/gosnmp/gosnmp v1.35.0 | ||
github.com/mackerelio/mackerel-client-go v0.24.0 | ||
github.com/maruel/natural v1.1.0 | ||
github.com/tenntenn/golden v0.4.0 | ||
github.com/tenntenn/testtime v0.2.2 | ||
gopkg.in/yaml.v3 v3.0.1 | ||
) | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/josharian/mapfs v0.0.0-20210615234106-095c008854e6 // indirect | ||
github.com/josharian/txtarfs v0.0.0-20210615234325-77aca6df5bca // indirect | ||
golang.org/x/tools v0.1.5 // indirect | ||
) | ||
require github.com/davecgh/go-spew v1.1.1 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.