Skip to content

Commit

Permalink
Merge pull request #3 from mackerelio-labs/rename-packagepath
Browse files Browse the repository at this point in the history
rename package import-path
  • Loading branch information
lufia authored Feb 27, 2023
2 parents 7075b1a + 1494d84 commit ad48821
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion example/driver/cactusstatsd/statsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cactus/go-statsd-client/v5/statsd"

proto "github.com/hatena/mackerelstatsd/statsd"
proto "github.com/mackerelio-labs/mackerel-statsd/statsd"
)

type Driver struct {
Expand Down
4 changes: 2 additions & 2 deletions example/middleware/httphandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"
"time"

"github.com/hatena/mackerelstatsd/metricname"
"github.com/hatena/mackerelstatsd/statsd"
"github.com/mackerelio-labs/mackerel-statsd/metricname"
"github.com/mackerelio-labs/mackerel-statsd/statsd"
)

func metricName(path string) string {
Expand Down
4 changes: 2 additions & 2 deletions example/sample-client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"sync"
"time"

"github.com/hatena/mackerelstatsd/example/driver/cactusstatsd"
"github.com/hatena/mackerelstatsd/statsd"
"github.com/mackerelio-labs/mackerel-statsd/example/driver/cactusstatsd"
"github.com/mackerelio-labs/mackerel-statsd/statsd"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions example/sample-http-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"log"
"net/http"

"github.com/hatena/mackerelstatsd/example/driver/cactusstatsd"
"github.com/hatena/mackerelstatsd/example/middleware"
"github.com/hatena/mackerelstatsd/statsd"
"github.com/mackerelio-labs/mackerel-statsd/example/driver/cactusstatsd"
"github.com/mackerelio-labs/mackerel-statsd/example/middleware"
"github.com/mackerelio-labs/mackerel-statsd/statsd"
)

func helloHandler(w http.ResponseWriter, req *http.Request) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/hatena/mackerelstatsd
module github.com/mackerelio-labs/mackerel-statsd

go 1.19

Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (

"github.com/mackerelio/mackerel-client-go"

"github.com/hatena/mackerelstatsd/metricname"
"github.com/hatena/mackerelstatsd/parser"
"github.com/hatena/mackerelstatsd/statsd"
"github.com/mackerelio-labs/mackerel-statsd/metricname"
"github.com/mackerelio-labs/mackerel-statsd/parser"
"github.com/mackerelio-labs/mackerel-statsd/statsd"
)

// Sink is a destination to collect- and to flush-metrics.
Expand Down
4 changes: 2 additions & 2 deletions statsd/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"log"

"github.com/hatena/mackerelstatsd/parser"
"github.com/hatena/mackerelstatsd/statsd"
"github.com/mackerelio-labs/mackerel-statsd/parser"
"github.com/mackerelio-labs/mackerel-statsd/statsd"
)

func Example_server() {
Expand Down
2 changes: 1 addition & 1 deletion statsd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"sync"

"github.com/hatena/mackerelstatsd/parser"
"github.com/mackerelio-labs/mackerel-statsd/parser"
)

type Server struct {
Expand Down
2 changes: 1 addition & 1 deletion statsd/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/hatena/mackerelstatsd/parser"
"github.com/mackerelio-labs/mackerel-statsd/parser"
)

func TestServerListenAndServe(t *testing.T) {
Expand Down

0 comments on commit ad48821

Please sign in to comment.