Skip to content

Commit

Permalink
Update import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Feb 20, 2018
1 parent ea047e4 commit cf82b46
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# go-fluent-client
# fluent-client

A fluentd client

[![Build Status](https://travis-ci.org/lestrrat/go-fluent-client.png?branch=master)](https://travis-ci.org/lestrrat/go-fluent-client)
[![Build Status](https://travis-ci.org/lestrrat-go/fluent-client.png?branch=master)](https://travis-ci.org/lestrrat-go/fluent-client)

[![GoDoc](https://godoc.org/github.com/lestrrat/go-fluent-client?status.svg)](https://godoc.org/github.com/lestrrat/go-fluent-client)
[![GoDoc](https://godoc.org/github.com/lestrrat-go/fluent-client?status.svg)](https://godoc.org/github.com/lestrrat-go/fluent-client)

# SYNOPSIS

Expand All @@ -16,7 +16,7 @@ import (
"log"
"time"

fluent "github.com/lestrrat/go-fluent-client"
fluent "github.com/lestrrat-go/fluent-client"
)

func Example() {
Expand Down Expand Up @@ -182,21 +182,21 @@ BenchmarkLestrratUnbuffered-4 100000 11719 ns/op 512 B/op
BenchmarkOfficial-4 100000 10443 ns/op 896 B/op 9 allocs/op
BenchmarkOfficialJSON-4 100000 17796 ns/op 1760 B/op 25 allocs/op
PASS
ok github.com/lestrrat/go-fluent-client 10.287s
ok github.com/lestrrat-go/fluent-client 10.287s
```

## Versions

| Name | Version |
|---------|---------|
| fluentd (td-agent) | 0.12.19 |
| github.com/lestrrat/go-fluent-client | f3fb05a2b7eb40bb426dd8e1ba43e9ff47b412ec |
| github.com/lestrrat-go/fluent-client | f3fb05a2b7eb40bb426dd8e1ba43e9ff47b412ec |
| github.com/k0kubun/fluent-logger-go | e1cfc57bb12c99d7207d43b942527c9450d14382 |
| github.com/fluent/fluent-logger-golang | 8bbc2356beaf021b04c9bd5cdc76ea5a7ccb40ec |

## Analysis

### github.com/lestrrat/go-fluent-client
### github.com/lestrrat-go/fluent-client

#### Pros

Expand All @@ -206,7 +206,7 @@ ok github.com/lestrrat/go-fluent-client 10.287s
* Has buffered/unbuffered clients

While `github.com/k0kubun/fluent-logger-go` is fastest, it does not check errors and does not handle some
synchronization edge cases. `github.com/lestrrat/go-fluent-client` goes into great pains to check these
synchronization edge cases. `github.com/lestrrat-go/fluent-client` goes into great pains to check these
things, and still manages to come almost as fast as `github.com/k0kubun/fluent-logger-go`, whihch is already
several times faster than the official library.

Expand Down
2 changes: 1 addition & 1 deletion buffered.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

pdebug "github.com/lestrrat/go-pdebug"
pdebug "github.com/lestrrat-go/pdebug"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion fluent_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

official "github.com/fluent/fluent-logger-golang/fluent"
k0kubun "github.com/k0kubun/fluent-logger-go"
lestrrat "github.com/lestrrat/go-fluent-client"
lestrrat "github.com/lestrrat-go/fluent-client"
)

const tag = "debug.test"
Expand Down
2 changes: 1 addition & 1 deletion fluent_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

fluent "github.com/lestrrat/go-fluent-client"
fluent "github.com/lestrrat-go/fluent-client"
)

func Example() {
Expand Down
6 changes: 3 additions & 3 deletions fluent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"testing"
"time"

fluent "github.com/lestrrat/go-fluent-client"
msgpack "github.com/lestrrat/go-msgpack"
pdebug "github.com/lestrrat/go-pdebug"
fluent "github.com/lestrrat-go/fluent-client"
msgpack "github.com/lestrrat-go/msgpack"
pdebug "github.com/lestrrat-go/pdebug"
"github.com/pkg/errors"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion marshal.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fluent

import (
msgpack "github.com/lestrrat/go-msgpack"
msgpack "github.com/lestrrat-go/msgpack"
)

type marshalFunc func(*Message) ([]byte, error)
Expand Down
4 changes: 2 additions & 2 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strconv"
"time"

msgpack "github.com/lestrrat/go-msgpack"
pdebug "github.com/lestrrat/go-pdebug"
msgpack "github.com/lestrrat-go/msgpack"
pdebug "github.com/lestrrat-go/pdebug"
"github.com/pkg/errors"
)

Expand Down
4 changes: 2 additions & 2 deletions minion.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sync"
"time"

backoff "github.com/lestrrat/go-backoff"
pdebug "github.com/lestrrat/go-pdebug"
backoff "github.com/lestrrat-go/backoff"
pdebug "github.com/lestrrat-go/pdebug"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion time.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fluent
import (
"time"

msgpack "github.com/lestrrat/go-msgpack"
msgpack "github.com/lestrrat-go/msgpack"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion unbuffered.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net"
"time"

pdebug "github.com/lestrrat/go-pdebug"
pdebug "github.com/lestrrat-go/pdebug"
"github.com/pkg/errors"
)

Expand Down

0 comments on commit cf82b46

Please sign in to comment.