Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Commit 2116cfc

Browse files
committed
Update import paths
1 parent f984502 commit 2116cfc

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
go-file-rotatelogs
1+
file-rotatelogs
22
==================
33

4-
[![Build Status](https://travis-ci.org/lestrrat/go-file-rotatelogs.png?branch=master)](https://travis-ci.org/lestrrat/go-file-rotatelogs)
4+
Periodically rotates log files from within the application. Port of [File::RotateLogs](https://metacpan.org/release/File-RotateLogs) from Perl to Go.
55

6-
[![GoDoc](https://godoc.org/github.com/lestrrat/go-file-rotatelogs?status.svg)](https://godoc.org/github.com/lestrrat/go-file-rotatelogs)
6+
[![Build Status](https://travis-ci.org/lestrrat-go/file-rotatelogs.png?branch=master)](https://travis-ci.org/lestrrat-go/file-rotatelogs)
77

8+
[![GoDoc](https://godoc.org/github.com/lestrrat-go/file-rotatelogs?status.svg)](https://godoc.org/github.com/lestrrat-go/file-rotatelogs)
89

9-
Port of [File::RotateLogs](https://metacpan.org/release/File-RotateLogs) from Perl to Go.
1010

1111
# SYNOPSIS
1212

@@ -15,8 +15,8 @@ import (
1515
"log"
1616
"net/http"
1717

18-
apachelog "github.com/lestrrat/go-apache-logformat"
19-
rotatelogs "github.com/lestrrat/go-file-rotatelogs"
18+
apachelog "github.com/lestrrat-go/apache-logformat"
19+
rotatelogs "github.com/lestrrat-go/file-rotatelogs"
2020
)
2121

2222
func main() {
@@ -47,17 +47,17 @@ to setup logrotate!
4747
To install, simply issue a `go get`:
4848

4949
```
50-
go get github.com/lestrrat/go-file-rotatelogs
50+
go get github.com/lestrrat-go/file-rotatelogs
5151
```
5252

5353
It's normally expected that this library is used with some other
5454
logging service, such as the built-in `log` library, or loggers
55-
such as `github.com/lestrrat/go-apache-logformat`.
55+
such as `github.com/lestrrat-go/apache-logformat`.
5656

5757
```go
5858
import(
5959
"log"
60-
"github.com/lestrrat/go-file-rotatelogs"
60+
"github.com/lestrrat-go/file-rotatelogs"
6161
)
6262

6363
func main() {

interface.go

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

8-
strftime "github.com/lestrrat/go-strftime"
8+
strftime "github.com/lestrrat-go/strftime"
99
)
1010

1111
// RotateLogs represents a log file that gets

rotatelogs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"sync"
1515
"time"
1616

17-
strftime "github.com/lestrrat/go-strftime"
17+
strftime "github.com/lestrrat-go/strftime"
1818
"github.com/pkg/errors"
1919
)
2020

rotatelogs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212

1313
"github.com/jonboulle/clockwork"
14-
rotatelogs "github.com/lestrrat/go-file-rotatelogs"
14+
rotatelogs "github.com/lestrrat-go/file-rotatelogs"
1515
"github.com/stretchr/testify/assert"
1616
)
1717

0 commit comments

Comments
 (0)