Skip to content

koorgoo/rotate

Repository files navigation

rotate GoDoc Build Status

Rotation for *os.File.

Installation

go get -u github.com/koorgoo/rotate

Quick Start

f := rotate.MustOpen(name, rotate.Config{
  Bytes: rotate.MB,
  Count: 10,
})
defer f.Close()

See examples.