From 2d5743af843ec714b735471737fe50ea6b5c07ee Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Wed, 13 Nov 2019 18:18:44 +0100 Subject: [PATCH] Add blank line between legal header and package declaration Otherwise, the legal header is rendered as package documentation. --- internal/client/get.go | 1 + internal/client/get_test.go | 1 + internal/client/route_add.go | 1 + internal/client/route_add_test.go | 1 + internal/client/route_list.go | 1 + internal/client/route_list_test.go | 1 + internal/client/route_remove.go | 1 + internal/client/route_remove_test.go | 1 + internal/client/set.go | 1 + internal/client/set_test.go | 1 + internal/cmd/get.go | 1 + internal/cmd/route.go | 1 + internal/cmd/server.go | 1 + internal/cmd/set.go | 1 + internal/cmd/validations.go | 1 + internal/http/reason.go | 1 + internal/http/reason_test.go | 1 + internal/http/request.go | 1 + internal/http/request_test.go | 1 + internal/server/control/control.go | 1 + internal/server/control/control_test.go | 1 + internal/server/data/decorator.go | 1 + internal/server/data/decorator_test.go | 1 + internal/server/data/resource.go | 1 + internal/server/data/resource_test.go | 1 + internal/server/data/server.go | 1 + internal/server/data/server_test.go | 1 + internal/server/data/state.go | 1 + internal/server/data/state_test.go | 1 + internal/server/model/handler.go | 1 + internal/server/model/route.go | 1 + internal/server/server.go | 1 + internal/server/user/mux/gorillize.go | 1 + internal/server/user/mux/gorillize_test.go | 1 + internal/server/user/mux/handlerbuilder.go | 1 + internal/server/user/mux/handlerbuilder_test.go | 1 + internal/server/user/mux/mux.go | 1 + internal/server/user/mux/mux_test.go | 1 + internal/server/user/server.go | 1 + internal/server/user/spawn/spawn.go | 1 + internal/server/user/spawn/spawn_test.go | 1 + internal/server/user/state.go | 1 + internal/server/user/state_test.go | 1 + main.go | 1 + 44 files changed, 44 insertions(+) diff --git a/internal/client/get.go b/internal/client/get.go index d392fe0..f0816ee 100644 --- a/internal/client/get.go +++ b/internal/client/get.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/get_test.go b/internal/client/get_test.go index 60c4b6d..4d4d21e 100644 --- a/internal/client/get_test.go +++ b/internal/client/get_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/route_add.go b/internal/client/route_add.go index e008203..f1cdffe 100644 --- a/internal/client/route_add.go +++ b/internal/client/route_add.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/route_add_test.go b/internal/client/route_add_test.go index 6c74e28..e66779f 100644 --- a/internal/client/route_add_test.go +++ b/internal/client/route_add_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/route_list.go b/internal/client/route_list.go index b2c2053..a22f86f 100644 --- a/internal/client/route_list.go +++ b/internal/client/route_list.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/route_list_test.go b/internal/client/route_list_test.go index bb6a80f..e5eadb5 100644 --- a/internal/client/route_list_test.go +++ b/internal/client/route_list_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/route_remove.go b/internal/client/route_remove.go index d26f599..53329ed 100644 --- a/internal/client/route_remove.go +++ b/internal/client/route_remove.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/route_remove_test.go b/internal/client/route_remove_test.go index ac42b15..21fa460 100644 --- a/internal/client/route_remove_test.go +++ b/internal/client/route_remove_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/set.go b/internal/client/set.go index 0df76d1..745c1ab 100644 --- a/internal/client/set.go +++ b/internal/client/set.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client import ( diff --git a/internal/client/set_test.go b/internal/client/set_test.go index f18d76c..d13f5b9 100644 --- a/internal/client/set_test.go +++ b/internal/client/set_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package client_test import ( diff --git a/internal/cmd/get.go b/internal/cmd/get.go index 1fdbe56..497a859 100644 --- a/internal/cmd/get.go +++ b/internal/cmd/get.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package cmd import ( diff --git a/internal/cmd/route.go b/internal/cmd/route.go index 51d9499..3925517 100644 --- a/internal/cmd/route.go +++ b/internal/cmd/route.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package cmd import ( diff --git a/internal/cmd/server.go b/internal/cmd/server.go index f176b91..14719c8 100644 --- a/internal/cmd/server.go +++ b/internal/cmd/server.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package cmd import ( diff --git a/internal/cmd/set.go b/internal/cmd/set.go index 1f81a36..f3e2f95 100644 --- a/internal/cmd/set.go +++ b/internal/cmd/set.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package cmd import ( diff --git a/internal/cmd/validations.go b/internal/cmd/validations.go index 2e99b98..19012c8 100644 --- a/internal/cmd/validations.go +++ b/internal/cmd/validations.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package cmd import ( diff --git a/internal/http/reason.go b/internal/http/reason.go index 464f3dc..89d8732 100644 --- a/internal/http/reason.go +++ b/internal/http/reason.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package http import ( diff --git a/internal/http/reason_test.go b/internal/http/reason_test.go index d71ff82..aa17b93 100644 --- a/internal/http/reason_test.go +++ b/internal/http/reason_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package http import ( diff --git a/internal/http/request.go b/internal/http/request.go index 970a8aa..a01063d 100644 --- a/internal/http/request.go +++ b/internal/http/request.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package http import ( diff --git a/internal/http/request_test.go b/internal/http/request_test.go index b0785dc..86e9921 100644 --- a/internal/http/request_test.go +++ b/internal/http/request_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package http import ( diff --git a/internal/server/control/control.go b/internal/server/control/control.go index 216e8ff..19d4310 100644 --- a/internal/server/control/control.go +++ b/internal/server/control/control.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package control import ( diff --git a/internal/server/control/control_test.go b/internal/server/control/control_test.go index 6f792c6..975039e 100644 --- a/internal/server/control/control_test.go +++ b/internal/server/control/control_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package control import ( diff --git a/internal/server/data/decorator.go b/internal/server/data/decorator.go index 62695e7..ec5909d 100644 --- a/internal/server/data/decorator.go +++ b/internal/server/data/decorator.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package data import ( diff --git a/internal/server/data/decorator_test.go b/internal/server/data/decorator_test.go index b66fd8a..dbf451a 100644 --- a/internal/server/data/decorator_test.go +++ b/internal/server/data/decorator_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package data import ( diff --git a/internal/server/data/resource.go b/internal/server/data/resource.go index d4a8a70..8b1076d 100644 --- a/internal/server/data/resource.go +++ b/internal/server/data/resource.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package data import ( diff --git a/internal/server/data/resource_test.go b/internal/server/data/resource_test.go index 1d5e387..e723f0f 100644 --- a/internal/server/data/resource_test.go +++ b/internal/server/data/resource_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package data import ( diff --git a/internal/server/data/server.go b/internal/server/data/server.go index 6139428..75abae8 100644 --- a/internal/server/data/server.go +++ b/internal/server/data/server.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package data import ( diff --git a/internal/server/data/server_test.go b/internal/server/data/server_test.go index eaeb932..e3c848b 100644 --- a/internal/server/data/server_test.go +++ b/internal/server/data/server_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package data import ( diff --git a/internal/server/data/state.go b/internal/server/data/state.go index e95a294..94c4cfc 100644 --- a/internal/server/data/state.go +++ b/internal/server/data/state.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package data import ( diff --git a/internal/server/data/state_test.go b/internal/server/data/state_test.go index 7ca5e15..f082c3a 100644 --- a/internal/server/data/state_test.go +++ b/internal/server/data/state_test.go @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package data import ( diff --git a/internal/server/model/handler.go b/internal/server/model/handler.go index b96ac44..8d79b35 100644 --- a/internal/server/model/handler.go +++ b/internal/server/model/handler.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package model import ( diff --git a/internal/server/model/route.go b/internal/server/model/route.go index 900fd59..f630dce 100644 --- a/internal/server/model/route.go +++ b/internal/server/model/route.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package model // Route contains the data needed to represent a Kapow! user route. diff --git a/internal/server/server.go b/internal/server/server.go index 7c8da7e..766ec3c 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package server import ( diff --git a/internal/server/user/mux/gorillize.go b/internal/server/user/mux/gorillize.go index a089f07..9ebcc2d 100644 --- a/internal/server/user/mux/gorillize.go +++ b/internal/server/user/mux/gorillize.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package mux import ( diff --git a/internal/server/user/mux/gorillize_test.go b/internal/server/user/mux/gorillize_test.go index 69ba2f4..f531f2d 100644 --- a/internal/server/user/mux/gorillize_test.go +++ b/internal/server/user/mux/gorillize_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package mux import ( diff --git a/internal/server/user/mux/handlerbuilder.go b/internal/server/user/mux/handlerbuilder.go index 64fe7d7..09dbdfb 100644 --- a/internal/server/user/mux/handlerbuilder.go +++ b/internal/server/user/mux/handlerbuilder.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package mux import ( diff --git a/internal/server/user/mux/handlerbuilder_test.go b/internal/server/user/mux/handlerbuilder_test.go index 3e2d7f3..da5dde1 100644 --- a/internal/server/user/mux/handlerbuilder_test.go +++ b/internal/server/user/mux/handlerbuilder_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package mux import ( diff --git a/internal/server/user/mux/mux.go b/internal/server/user/mux/mux.go index 9946f5f..508cbcb 100644 --- a/internal/server/user/mux/mux.go +++ b/internal/server/user/mux/mux.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package mux import ( diff --git a/internal/server/user/mux/mux_test.go b/internal/server/user/mux/mux_test.go index 5cbc04f..771ad78 100644 --- a/internal/server/user/mux/mux_test.go +++ b/internal/server/user/mux/mux_test.go @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package mux import ( diff --git a/internal/server/user/server.go b/internal/server/user/server.go index bf3800a..15f0706 100644 --- a/internal/server/user/server.go +++ b/internal/server/user/server.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package user import ( diff --git a/internal/server/user/spawn/spawn.go b/internal/server/user/spawn/spawn.go index fb13231..50f4f4d 100644 --- a/internal/server/user/spawn/spawn.go +++ b/internal/server/user/spawn/spawn.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package spawn import ( diff --git a/internal/server/user/spawn/spawn_test.go b/internal/server/user/spawn/spawn_test.go index f5ebae3..ef77791 100644 --- a/internal/server/user/spawn/spawn_test.go +++ b/internal/server/user/spawn/spawn_test.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package spawn import ( diff --git a/internal/server/user/state.go b/internal/server/user/state.go index fc7e3a5..ed240b5 100644 --- a/internal/server/user/state.go +++ b/internal/server/user/state.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package user import ( diff --git a/internal/server/user/state_test.go b/internal/server/user/state_test.go index bb0c13e..2ba52f7 100644 --- a/internal/server/user/state_test.go +++ b/internal/server/user/state_test.go @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package user import ( diff --git a/main.go b/main.go index 9a7a88e..6fd8089 100644 --- a/main.go +++ b/main.go @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package main import (