Skip to content

Commit

Permalink
Updates paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepinggenius2 committed Oct 21, 2019
1 parent f64d9a0 commit 3838bb1
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ matrix:
allow_failures:
- go: tip

go_import_path: gopkg.in/mcuadros/go-syslog.v2
go_import_path: gopkg.in/sleepinggenius2/go-syslog.v2

install:
- go get -v -t ./...
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go-syslog [![Build Status](https://travis-ci.org/mcuadros/go-syslog.svg?branch=master)](https://travis-ci.org/mcuadros/go-syslog) [![GoDoc](https://godoc.org/github.com/mcuadros/go-syslog?status.svg)](https://godoc.org/gopkg.in/mcuadros/go-syslog.v2) [![GitHub release](https://img.shields.io/github/release/mcuadros/go-syslog.svg)](https://github.com/mcuadros/go-syslog/releases)
go-syslog [![Build Status](https://travis-ci.org/sleepinggenius2/go-syslog.svg?branch=master)](https://travis-ci.org/sleepinggenius2/go-syslog) [![GoDoc](https://godoc.org/github.com/sleepinggenius2/go-syslog?status.svg)](https://godoc.org/gopkg.in/sleepinggenius2/go-syslog.v2) [![GitHub release](https://img.shields.io/github/release/sleepinggenius2/go-syslog.svg)](https://github.com/sleepinggenius2/go-syslog/releases)
==============================

Syslog server library for go, build easy your custom syslog server over UDP, TCP or Unix sockets using RFC3164, RFC6587 or RFC5424
Expand All @@ -9,7 +9,7 @@ Installation
The recommended way to install go-syslog

```
go get gopkg.in/mcuadros/go-syslog.v2
go get gopkg.in/sleepinggenius2/go-syslog.v2
```

Examples
Expand All @@ -18,7 +18,7 @@ Examples
How import the package

```go
import "gopkg.in/mcuadros/go-syslog.v2"
import "gopkg.in/sleepinggenius2/go-syslog.v2"
```

Example of a basic syslog [UDP server](example/basic_udp.go):
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Syslog server library for go, build easy your custom syslog server
over UDP, TCP or Unix sockets using RFC3164, RFC5424 and RFC6587
*/
package syslog // import "gopkg.in/mcuadros/go-syslog.v2"
package syslog // import "gopkg.in/sleepinggenius2/go-syslog.v2"
2 changes: 1 addition & 1 deletion example/basic_udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"gopkg.in/mcuadros/go-syslog.v2"
"gopkg.in/sleepinggenius2/go-syslog.v2"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions format/automatic.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"bytes"
"strconv"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164"
"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser/rfc3164"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser/rfc5424"
)

/* Selecting an 'Automatic' format detects incoming format (i.e. RFC3164 vs RFC5424) and Framing
Expand Down
2 changes: 1 addition & 1 deletion format/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bufio"
"time"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser"
)

type LogParts map[string]interface{}
Expand Down
2 changes: 1 addition & 1 deletion format/rfc3164.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package format
import (
"bufio"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser/rfc3164"
)

type RFC3164 struct{}
Expand Down
2 changes: 1 addition & 1 deletion format/rfc5424.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package format
import (
"bufio"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser/rfc5424"
)

type RFC5424 struct{}
Expand Down
2 changes: 1 addition & 1 deletion format/rfc6587.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"bytes"
"strconv"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser/rfc5424"
)

type RFC6587 struct{}
Expand Down
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package syslog

import (
"gopkg.in/mcuadros/go-syslog.v2/format"
"gopkg.in/sleepinggenius2/go-syslog.v2/format"
)

//The handler receive every syslog entry at Handle method
Expand Down
2 changes: 1 addition & 1 deletion handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package syslog

import (
. "gopkg.in/check.v1"
"gopkg.in/mcuadros/go-syslog.v2/format"
"gopkg.in/sleepinggenius2/go-syslog.v2/format"
)

type HandlerSuite struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/syslogparser/rfc3164/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rfc3164_test
import (
"fmt"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser/rfc3164"
)

func ExampleNewParser() {
Expand Down
2 changes: 1 addition & 1 deletion internal/syslogparser/rfc3164/rfc3164.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser"
)

type Parser struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/syslogparser/rfc3164/rfc3164_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

. "gopkg.in/check.v1"
"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser"
)

// Hooks up gocheck into the gotest runner.
Expand Down
2 changes: 1 addition & 1 deletion internal/syslogparser/rfc5424/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rfc5424_test
import (
"fmt"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser/rfc5424"
)

func ExampleNewParser() {
Expand Down
2 changes: 1 addition & 1 deletion internal/syslogparser/rfc5424/rfc5424.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"time"

"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/syslogparser/rfc5424/rfc5424_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

. "gopkg.in/check.v1"
"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser"
"gopkg.in/sleepinggenius2/go-syslog.v2/internal/syslogparser"
)

// Hooks up gocheck into the gotest runner.
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync"
"time"

"gopkg.in/mcuadros/go-syslog.v2/format"
"gopkg.in/sleepinggenius2/go-syslog.v2/format"
)

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

"gopkg.in/mcuadros/go-syslog.v2/format"
"gopkg.in/sleepinggenius2/go-syslog.v2/format"
)

type noopFormatter struct{}
Expand Down
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

. "gopkg.in/check.v1"
"gopkg.in/mcuadros/go-syslog.v2/format"
"gopkg.in/sleepinggenius2/go-syslog.v2/format"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down

0 comments on commit 3838bb1

Please sign in to comment.