package path 변경.
This commit is contained in:
parent
532ef65d1e
commit
04e4ecab0f
|
@ -1,6 +1,6 @@
|
||||||
# logging
|
# logging
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/spi-ca/logging?status.png)](http://godoc.org/github.com/spi-ca/logging)
|
[![GoDoc](https://godoc.org/amuz.es/src/go/logging?status.png)](http://godoc.org/amuz.es/src/go/logging)
|
||||||
[![Go Report](http://goreportcard.com/badge/spi-ca/logging](http://goreportcard.com/report/spi-ca/logging)
|
[![Go Report](http://goreportcard.com/badge/spi-ca/logging](http://goreportcard.com/report/spi-ca/logging)
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
@ -17,7 +17,7 @@ Go 1.5 or above.
|
||||||
Run the following command to install the package:
|
Run the following command to install the package:
|
||||||
|
|
||||||
```
|
```
|
||||||
go get github.com/spi-ca/logging
|
go get amuz.es/src/go/logging
|
||||||
```
|
```
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"amuz.es/src/go/logging/rotater"
|
||||||
"errors"
|
"errors"
|
||||||
rotatelogs "github.com/lestrrat-go/file-rotatelogs"
|
rotatelogs "github.com/lestrrat-go/file-rotatelogs"
|
||||||
"github.com/spi-ca/logging/rotater"
|
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
|
|
||||||
"go.uber.org/zap/zapcore"
|
"go.uber.org/zap/zapcore"
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module github.com/spi-ca/logging
|
module amuz.es/src/go/logging
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Package logging is convenient wrapper of zap logger.
|
// Package logging is convenient wrapper of zap logger.
|
||||||
// It provides grouping, rotation.
|
// It provides grouping, rotation.
|
||||||
package logging // import "github.com/spi-ca/logging"
|
package logging // import "amuz.es/src/go/logging"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
|
|
Loading…
Reference in New Issue