From 4665f2ccf9e94a69fdfac69dbf6b4dc17bb2685f Mon Sep 17 00:00:00 2001 From: Colin Henry Date: Fri, 11 Aug 2023 21:59:16 -0700 Subject: [PATCH] deprecating packages --- log/doc.go | 3 +++ rest/doc.go | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 log/doc.go create mode 100644 rest/doc.go diff --git a/log/doc.go b/log/doc.go new file mode 100644 index 0000000..16b00c3 --- /dev/null +++ b/log/doc.go @@ -0,0 +1,3 @@ +package log + +// Deprecated: use log/slog diff --git a/rest/doc.go b/rest/doc.go new file mode 100644 index 0000000..8cef5c6 --- /dev/null +++ b/rest/doc.go @@ -0,0 +1,5 @@ +package rest + +// Deprecated: I wrote this code when i was foolish enough to think you should use such things. +// I know better now. http.Handlers are properly structured helper functions are enough. +// I will remove this at some point //TODO