From b9f7ae29b4e6d06a436dd4c65e6c35a067c7b72b Mon Sep 17 00:00:00 2001 From: gutmet Date: Sun, 11 Oct 2020 13:08:13 +0200 Subject: [PATCH] move different stuff to different subfolders/packages --- copy.go => copy/copy.go | 2 +- html.go => html/html.go | 2 +- goutil.go => misc/goutil.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename copy.go => copy/copy.go (99%) rename html.go => html/html.go (99%) rename goutil.go => misc/goutil.go (99%) diff --git a/copy.go b/copy/copy.go similarity index 99% rename from copy.go rename to copy/copy.go index 5281503..683b2ff 100644 --- a/copy.go +++ b/copy/copy.go @@ -1,4 +1,4 @@ -package goutil +package copy /* Copied from https://github.com/otiai10/copy and slightly altered. diff --git a/html.go b/html/html.go similarity index 99% rename from html.go rename to html/html.go index 6517746..deb592a 100644 --- a/html.go +++ b/html/html.go @@ -1,4 +1,4 @@ -package goutil +package html import ( "golang.org/x/net/html" diff --git a/goutil.go b/misc/goutil.go similarity index 99% rename from goutil.go rename to misc/goutil.go index 6ab770a..29b71d2 100644 --- a/goutil.go +++ b/misc/goutil.go @@ -1,4 +1,4 @@ -package goutil +package misc import ( "bufio"