From 3ae45bc156e7611ffe96fe3a1c111fc3e9bfc6ed Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 31 Dec 2018 01:05:26 -0500 Subject: [PATCH] Fix spacing around copyright notices --- account.go | 1 + activitypub.go | 1 + admin.go | 1 + app.go | 1 + auth.go | 1 + author/author.go | 1 + cache.go | 1 + cmd/writefreely/main.go | 1 + collections.go | 1 + config/config.go | 1 + config/data.go | 1 + config/funcs.go | 1 + config/setup.go | 1 + config/validation.go | 1 + database.go | 1 + errors.go | 1 + export.go | 1 + feed.go | 1 + handle.go | 1 + hostmeta.go | 1 + instance.go | 1 + keys.go | 1 + nodeinfo.go | 1 + pad.go | 1 + page/page.go | 1 + pages.go | 1 + parse/posts.go | 1 + parse/posts_test.go | 1 + postrender.go | 1 + posts.go | 1 + read.go | 1 + request.go | 1 + routes.go | 1 + session.go | 1 + sitemap.go | 1 + templates.go | 1 + unregisteredusers.go | 1 + users.go | 1 + webfinger.go | 1 + 39 files changed, 39 insertions(+) diff --git a/account.go b/account.go index 34f71e8..60c2c36 100644 --- a/account.go +++ b/account.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/activitypub.go b/activitypub.go index a62749d..880aa9d 100644 --- a/activitypub.go +++ b/activitypub.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/admin.go b/admin.go index 3e1c8e7..3a8665b 100644 --- a/admin.go +++ b/admin.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/app.go b/app.go index 41b69d8..3698d5d 100644 --- a/app.go +++ b/app.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/auth.go b/auth.go index 0a15092..fbee601 100644 --- a/auth.go +++ b/auth.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely // AuthenticateUser ensures a user with the given accessToken is valid. Call diff --git a/author/author.go b/author/author.go index f2d851d..d196a66 100644 --- a/author/author.go +++ b/author/author.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package author import ( diff --git a/cache.go b/cache.go index ea30d16..b1b1be9 100644 --- a/cache.go +++ b/cache.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/cmd/writefreely/main.go b/cmd/writefreely/main.go index c1aa05f..e0a293c 100644 --- a/cmd/writefreely/main.go +++ b/cmd/writefreely/main.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package main import ( diff --git a/collections.go b/collections.go index c20ddb1..5e34561 100644 --- a/collections.go +++ b/collections.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/config/config.go b/config/config.go index 499e7ec..c6f4c90 100644 --- a/config/config.go +++ b/config/config.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package config import ( diff --git a/config/data.go b/config/data.go index dd8ce59..1c12fdc 100644 --- a/config/data.go +++ b/config/data.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package config type UserCreation struct { diff --git a/config/funcs.go b/config/funcs.go index 9a7fe6f..a9c82ce 100644 --- a/config/funcs.go +++ b/config/funcs.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package config import ( diff --git a/config/setup.go b/config/setup.go index 7ee8d1c..9161d40 100644 --- a/config/setup.go +++ b/config/setup.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package config import ( diff --git a/config/validation.go b/config/validation.go index 142153d..598c9fe 100644 --- a/config/validation.go +++ b/config/validation.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package config import ( diff --git a/database.go b/database.go index fc1664f..c27c664 100644 --- a/database.go +++ b/database.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/errors.go b/errors.go index 6672103..0092b7f 100644 --- a/errors.go +++ b/errors.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/export.go b/export.go index 9975bf7..e23b850 100644 --- a/export.go +++ b/export.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/feed.go b/feed.go index e86d8c7..61b1dac 100644 --- a/feed.go +++ b/feed.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/handle.go b/handle.go index 5d7843c..9f7ac65 100644 --- a/handle.go +++ b/handle.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/hostmeta.go b/hostmeta.go index 20bb62d..70a8856 100644 --- a/hostmeta.go +++ b/hostmeta.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/instance.go b/instance.go index 975f90a..6805a6e 100644 --- a/instance.go +++ b/instance.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely type InstanceStats struct { diff --git a/keys.go b/keys.go index 953a509..92a9ad5 100644 --- a/keys.go +++ b/keys.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/nodeinfo.go b/nodeinfo.go index 17826fb..4955fd8 100644 --- a/nodeinfo.go +++ b/nodeinfo.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/pad.go b/pad.go index 70e20d8..1a602dd 100644 --- a/pad.go +++ b/pad.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/page/page.go b/page/page.go index 9287566..08e29d4 100644 --- a/page/page.go +++ b/page/page.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + // package page provides mechanisms and data for generating a WriteFreely page. package page diff --git a/pages.go b/pages.go index 98f7478..044701d 100644 --- a/pages.go +++ b/pages.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/parse/posts.go b/parse/posts.go index b3adab9..4f7093c 100644 --- a/parse/posts.go +++ b/parse/posts.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package parse import ( diff --git a/parse/posts_test.go b/parse/posts_test.go index b2c8eef..c64a332 100644 --- a/parse/posts_test.go +++ b/parse/posts_test.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package parse import "testing" diff --git a/postrender.go b/postrender.go index e139af9..2cc6730 100644 --- a/postrender.go +++ b/postrender.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/posts.go b/posts.go index 5efae29..cc1295c 100644 --- a/posts.go +++ b/posts.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/read.go b/read.go index c94e897..c1731cd 100644 --- a/read.go +++ b/read.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/request.go b/request.go index 90fcd61..4939f9c 100644 --- a/request.go +++ b/request.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import "mime" diff --git a/routes.go b/routes.go index 9761da6..e11d51f 100644 --- a/routes.go +++ b/routes.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/session.go b/session.go index b122ced..6140b05 100644 --- a/session.go +++ b/session.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/sitemap.go b/sitemap.go index b1cc0a6..9bb168a 100644 --- a/sitemap.go +++ b/sitemap.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/templates.go b/templates.go index 1a82c59..d03fb0d 100644 --- a/templates.go +++ b/templates.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/unregisteredusers.go b/unregisteredusers.go index 28f8635..450b37d 100644 --- a/unregisteredusers.go +++ b/unregisteredusers.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/users.go b/users.go index b82c8ec..adc2ea4 100644 --- a/users.go +++ b/users.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import ( diff --git a/webfinger.go b/webfinger.go index ed23c7e..f8a0d7b 100644 --- a/webfinger.go +++ b/webfinger.go @@ -7,6 +7,7 @@ * it under the terms of the GNU Affero General Public License, included * in the LICENSE file in this source code package. */ + package writefreely import (