Skip to content

Commit d67048e

Browse files
authored
Merge pull request #20 from Masterminds/move-masterminds
Signed-off-by: Matt Farina <[email protected]>
2 parents eca9c01 + 09794ef commit d67048e

File tree

19 files changed

+35
-35
lines changed

19 files changed

+35
-35
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ standard library package, and for a CLI.
66

77
*_Note: this codebase is under active development. Consider it beta code._*
88

9-
[![Go Report Card](https://goreportcard.com/badge/github.com/mattfarina/log-go)](https://goreportcard.com/report/github.com/mattfarina/log-go)
10-
[![](https://github.com/Masterminds/semver/workflows/Tests/badge.svg)](https://github.com/mattfarina/log-go/actions)
11-
[![GoDoc](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/mattfarina/log-go)
9+
[![Go Report Card](https://goreportcard.com/badge/github.com/Masterminds/log-go)](https://goreportcard.com/report/github.com/Masterminds/log-go)
10+
[![](https://github.com/Masterminds/semver/workflows/Tests/badge.svg)](https://github.com/Masterminds/log-go/actions)
11+
[![GoDoc](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/Masterminds/log-go)
1212

1313
## The Problem
1414

@@ -62,7 +62,7 @@ example:
6262

6363
```go
6464
import(
65-
"github.com/mattfarina/log-go"
65+
"github.com/Masterminds/log-go"
6666
)
6767

6868
log.Info("Send Some Info")
@@ -74,7 +74,7 @@ Second, if you want to pass a logger around your package you can use the
7474
interface provided by this package. For example:
7575

7676
```go
77-
import "github.com/mattfarina/log-go"
77+
import "github.com/Masterminds/log-go"
7878

7979
func NewConstructorExample(logger log.Logger) {
8080
return &Example{
@@ -104,8 +104,8 @@ like so:
104104

105105
```go
106106
import(
107-
"github.com/mattfarina/log-go"
108-
"github.com/mattfarina/log-go/impl/logrus"
107+
"github.com/Masterminds/log-go"
108+
"github.com/Masterminds/log-go/impl/logrus"
109109
)
110110

111111
log.Current = logrus.NewStandard()

_examples/cli/cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package main
22

33
import (
4-
"github.com/mattfarina/log-go"
5-
"github.com/mattfarina/log-go/impl/cli"
4+
"github.com/Masterminds/log-go"
5+
"github.com/Masterminds/log-go/impl/cli"
66
)
77

88
func main() {

_examples/default/default.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/mattfarina/log-go"
3+
import "github.com/Masterminds/log-go"
44

55
func main() {
66

_examples/iowriter/main.go

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

6-
"github.com/mattfarina/log-go"
7-
logio "github.com/mattfarina/log-go/io"
6+
"github.com/Masterminds/log-go"
7+
logio "github.com/Masterminds/log-go/io"
88
)
99

1010
// Sometimes you have an io.Writer interface and you want to have it write to

_examples/logrus/logrus.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package main
22

33
import (
4-
"github.com/mattfarina/log-go"
5-
"github.com/mattfarina/log-go/impl/logrus"
4+
"github.com/Masterminds/log-go"
5+
"github.com/Masterminds/log-go/impl/logrus"
66
)
77

88
func main() {

_examples/logrus_custom/logrus.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package main
22

33
import (
4-
"github.com/mattfarina/log-go"
5-
lgrs "github.com/mattfarina/log-go/impl/logrus"
4+
"github.com/Masterminds/log-go"
5+
lgrs "github.com/Masterminds/log-go/impl/logrus"
66
"github.com/sirupsen/logrus"
77
)
88

_examples/testingstd/testing_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/mattfarina/log-go"
10-
"github.com/mattfarina/log-go/impl/std"
9+
"github.com/Masterminds/log-go"
10+
"github.com/Masterminds/log-go/impl/std"
1111
)
1212

1313
// This example is designed to help you understand how you can write tests with
@@ -27,7 +27,7 @@ func TestLogger(t *testing.T) {
2727
)
2828

2929
// The impl/std package enables you to pass in an instance of a logger from
30-
// the standard library. The github.com/mattfarina/log-go.NewStandard()
30+
// the standard library. The github.com/Masterminds/log-go.NewStandard()
3131
// constructor uses the standard logger in the standard libraries log pkg.
3232
lgr := std.New(logger)
3333

example_test.go

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

6-
"github.com/mattfarina/log-go"
7-
"github.com/mattfarina/log-go/impl/logrus"
6+
"github.com/Masterminds/log-go"
7+
"github.com/Masterminds/log-go/impl/logrus"
88
)
99

1010
type Foo struct {
@@ -42,7 +42,7 @@ func Example() {
4242
f2 := Foo{
4343
// The log package uses the global logger from the standard library log
4444
// package. A custom standard library logger can be used with the
45-
// github.com/mattfarina/log-go/impl/std package.
45+
// github.com/Masterminds/log-go/impl/std package.
4646
Logger: log.NewStandard(),
4747
}
4848

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/mattfarina/log-go
1+
module github.com/Masterminds/log-go
22

33
go 1.15
44

impl/cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"io"
66
"os"
77

8+
"github.com/Masterminds/log-go"
89
"github.com/fatih/color"
9-
"github.com/mattfarina/log-go"
1010
)
1111

1212
// TODO: Add i18n support for level labels

impl/cli/cli_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"strings"
66
"testing"
77

8+
"github.com/Masterminds/log-go"
89
"github.com/fatih/color"
9-
"github.com/mattfarina/log-go"
1010
"github.com/stretchr/testify/assert"
1111
)
1212

impl/logrus/logrus.go

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

33
import (
4-
"github.com/mattfarina/log-go"
4+
"github.com/Masterminds/log-go"
55
"github.com/sirupsen/logrus"
66
)
77

impl/logrus/logrus_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"testing"
77

8-
"github.com/mattfarina/log-go"
8+
"github.com/Masterminds/log-go"
99
"github.com/sirupsen/logrus"
1010
"github.com/stretchr/testify/assert"
1111
)

impl/std/std.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
stdlog "log"
66

7-
"github.com/mattfarina/log-go"
7+
"github.com/Masterminds/log-go"
88
)
99

1010
// New creates an instance of std.Logger that wraps a logger from the standard

impl/std/std_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/mattfarina/log-go"
9+
"github.com/Masterminds/log-go"
1010
"github.com/stretchr/testify/assert"
1111
)
1212

impl/zap/zap.go

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

6-
"github.com/mattfarina/log-go"
6+
"github.com/Masterminds/log-go"
77
"go.uber.org/zap"
88
"go.uber.org/zap/zapcore"
99
)

impl/zap/zap_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"testing"
77

8-
"github.com/mattfarina/log-go"
8+
"github.com/Masterminds/log-go"
99
"github.com/stretchr/testify/assert"
1010
"go.uber.org/zap"
1111
"go.uber.org/zap/zaptest"

io/io.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// a chosen level. An example of this would be:
33
// import(
44
// "io"
5-
// "github.com/mattfarina/log-go"
6-
// logio "github.com/mattfarina/log-go/io"
5+
// "github.com/Masterminds/log-go"
6+
// logio "github.com/Masterminds/log-go/io"
77
// )
88
//
99
// func main() {
@@ -13,7 +13,7 @@
1313
package io
1414

1515
import (
16-
"github.com/mattfarina/log-go"
16+
"github.com/Masterminds/log-go"
1717
)
1818

1919
// CurrentWriter uses the current package level logger for io writing

io/io_test.go

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

10-
"github.com/mattfarina/log-go"
10+
"github.com/Masterminds/log-go"
1111
)
1212

1313
func TestCurrentIO(t *testing.T) {

0 commit comments

Comments
 (0)