From dfa08f49e696598ab60f8dca86e7caaa2c272a2f Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 9 Apr 2023 21:02:02 +0700 Subject: lib/io: mark the package as deprecated Also, mention the deprecation in the README along with lib/parser. --- README | 4 ++-- lib/io/io.go | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README b/README index 6ecdf0ba..9083c6ab 100644 --- a/README +++ b/README @@ -112,7 +112,7 @@ A library for working with slice of integer. A library for working with slice of int64. {godoc_base_url}/lib/io[**io**^]:: -A library for simplify reading and watching files. +[DEPRECATED] A library for simplify reading and watching files. {godoc_base_url}/lib/json[**json**^]:: Package json extends the capabilities of standard json package. @@ -183,7 +183,7 @@ Package exec wrap the standar package "os/exec" to simplify calling Run with stdout and stderr. {godoc_base_url}/lib/parser[**parser**^]:: -Package parser provide a common text parser, using delimiters. +[DEPRECATED] Package parser provide a common text parser, using delimiters. {godoc_base_url}/lib/paseto[**paseto**^]:: A simple, ready to use, implementation of Platform-Agnostic SEcurity TOkens diff --git a/lib/io/io.go b/lib/io/io.go index f8437996..3df80e32 100644 --- a/lib/io/io.go +++ b/lib/io/io.go @@ -3,6 +3,9 @@ // license that can be found in the LICENSE file. // Package io extends the standard io library. +// +// DEPRECATED: This package has been merged into package lib/os and will +// be removed in the next six release v0.51.0. package io import ( -- cgit v1.3