From ecc1f2c988de3b6f5984f5cb8a9b2807311d7a7f Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Fri, 12 Jul 2024 13:40:20 +0300 Subject: [PATCH] Go 1.16 is the minimum supported version --- .github/workflows/ci.yml | 2 +- README.md | 2 +- go.mod | 2 +- tail.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fea6c51..42c6936 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ jobs: test-build: strategy: matrix: - go-version: [1.21.x, 1.20.x, 1.19.x, 1.18.x] + go-version: [1.21.x, 1.20.x, 1.19.x, 1.18.x, 1.16.x] os: [ubuntu-20.04, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: diff --git a/README.md b/README.md index fca8901..13c2b60 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ nxadm/tail provides a Go library that emulates the features of the BSD `tail` program. The library comes with full support for truncation/move detection as it is designed to work with log rotation tools. The library works on all operating systems supported by Go, including POSIX systems like Linux, *BSD, -MacOS, and MS Windows. Go 1.12 is the oldest compiler release supported. +MacOS, and MS Windows. Go 1.16 is the oldest compiler release supported. A simple example: diff --git a/go.mod b/go.mod index d733c29..8299311 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/nxadm/tail -go 1.13 +go 1.16 require ( github.com/fsnotify/fsnotify v1.6.0 diff --git a/tail.go b/tail.go index c962599..427d4f8 100644 --- a/tail.go +++ b/tail.go @@ -6,7 +6,7 @@ //program. The library comes with full support for truncation/move detection as //it is designed to work with log rotation tools. The library works on all //operating systems supported by Go, including POSIX systems like Linux and -//*BSD, and MS Windows. Go 1.9 is the oldest compiler release supported. +//*BSD, and MS Windows. Go 1.16 is the oldest compiler release supported. package tail import (