fixed dependencies
This commit is contained in:
17
vendor/github.com/lestrrat-go/file-rotatelogs/event.go
generated
vendored
Normal file
17
vendor/github.com/lestrrat-go/file-rotatelogs/event.go
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
package rotatelogs
|
||||
|
||||
func (h HandlerFunc) Handle(e Event) {
|
||||
h(e)
|
||||
}
|
||||
|
||||
func (e *FileRotatedEvent) Type() EventType {
|
||||
return FileRotatedEventType
|
||||
}
|
||||
|
||||
func (e *FileRotatedEvent) PreviousFile() string {
|
||||
return e.prev
|
||||
}
|
||||
|
||||
func (e *FileRotatedEvent) CurrentFile() string {
|
||||
return e.current
|
||||
}
|
||||
Reference in New Issue
Block a user