From ff6dc0bc519886905e758a84e572f5e34d6c03d1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 26 Jan 2023 22:31:32 -0700 Subject: Move things between files --- internal/encode.go | 14 ++++++++++++++ internal/export_tags.go | 16 ---------------- internal/tags.go | 7 +++++++ 3 files changed, 21 insertions(+), 16 deletions(-) create mode 100644 internal/encode.go delete mode 100644 internal/export_tags.go create mode 100644 internal/tags.go (limited to 'internal') diff --git a/internal/encode.go b/internal/encode.go new file mode 100644 index 0000000..8aae673 --- /dev/null +++ b/internal/encode.go @@ -0,0 +1,14 @@ +// Copyright (C) 2022-2023 Luke Shumaker +// +// SPDX-License-Identifier: GPL-2.0-or-later + +package internal + +import ( + "io" +) + +var ( + EncodeStringFromBytes func(io.Writer, []byte) + EncodeStringFromString func(io.Writer, string) +) diff --git a/internal/export_tags.go b/internal/export_tags.go deleted file mode 100644 index d8cf622..0000000 --- a/internal/export_tags.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (C) 2022 Luke Shumaker -// -// SPDX-License-Identifier: GPL-2.0-or-later - -package internal - -import ( - "io" -) - -var ParseTag = parseTag - -var ( - EncodeStringFromBytes func(io.Writer, []byte) - EncodeStringFromString func(io.Writer, string) -) diff --git a/internal/tags.go b/internal/tags.go new file mode 100644 index 0000000..bdf1f72 --- /dev/null +++ b/internal/tags.go @@ -0,0 +1,7 @@ +// Copyright (C) 2022-2023 Luke Shumaker +// +// SPDX-License-Identifier: GPL-2.0-or-later + +package internal + +var ParseTag = parseTag -- cgit v1.2.3-2-g168b