Goit

Simple and lightweight Git web server
git clone http://git.omkov.net/Goit
Log | Tree | Refs | README | Download

AuthorJakob Wakeling <[email protected]>
Date2023-12-11 20:13:37
Commitc2c52504fe1fabd5637de9db791e4cde73a02aad
Parentefb68c32ffecdf337f3925f577d8285ffc615766

Add copyright headers to all source files

Diffstat

M src/admin/admin.go | 3 +++
M src/admin/repos.go | 3 +++
M src/admin/users.go | 3 +++
M src/goit/auth.go | 1 -
M src/goit/auth_test.go | 3 +++
M src/goit/git.go | 1 -
M src/goit/goit.go | 1 -
M src/goit/http.go | 1 -
M src/goit/index.go | 3 +++
M src/goit/log.go | 3 +++
M src/goit/repo.go | 1 -
M src/goit/user.go | 1 -
M src/main.go | 1 -
M src/repo/commit.go | 3 +++
M src/repo/create.go | 3 +++
M src/repo/download.go | 3 +++
M src/repo/edit.go | 3 +++
M src/repo/file.go | 3 +++
M src/repo/log.go | 3 +++
M src/repo/raw.go | 3 +++
M src/repo/refs.go | 3 +++
M src/repo/repo.go | 3 +++
M src/repo/tree.go | 3 +++
M src/user/edit.go | 3 +++
M src/user/login.go | 1 -
M src/user/sessions.go | 3 +++
D src/user/user.go | 1 -
M src/util/util.go | 1 -

28 files changed, 54 insertions, 10 deletions

diff --git a/src/admin/admin.go b/src/admin/admin.go
index bff2609..a445b33 100644
--- a/src/admin/admin.go
+++ b/src/admin/admin.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package admin
 
 import (
diff --git a/src/admin/repos.go b/src/admin/repos.go
index 8c78faa..c102f0a 100644
--- a/src/admin/repos.go
+++ b/src/admin/repos.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package admin
 
 import (
diff --git a/src/admin/users.go b/src/admin/users.go
index a12381a..a427c31 100644
--- a/src/admin/users.go
+++ b/src/admin/users.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package admin
 
 import (
diff --git a/src/goit/auth.go b/src/goit/auth.go
index f6b287c..564e23a 100644
--- a/src/goit/auth.go
+++ b/src/goit/auth.go
@@ -1,4 +1,3 @@
-// auth.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.
 
diff --git a/src/goit/auth_test.go b/src/goit/auth_test.go
index 4a129d9..ddb97bb 100644
--- a/src/goit/auth_test.go
+++ b/src/goit/auth_test.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package goit_test
 
 import (
diff --git a/src/goit/git.go b/src/goit/git.go
index 4bdfa47..75b779f 100644
--- a/src/goit/git.go
+++ b/src/goit/git.go
@@ -1,4 +1,3 @@
-// git.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.
 
diff --git a/src/goit/goit.go b/src/goit/goit.go
index 33f73a3..35bd116 100644
--- a/src/goit/goit.go
+++ b/src/goit/goit.go
@@ -1,4 +1,3 @@
-// goit.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.
 
diff --git a/src/goit/http.go b/src/goit/http.go
index af7d7d6..8bf43d0 100644
--- a/src/goit/http.go
+++ b/src/goit/http.go
@@ -1,4 +1,3 @@
-// http.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.
 
diff --git a/src/goit/index.go b/src/goit/index.go
index c7f7b1a..b7530c3 100644
--- a/src/goit/index.go
+++ b/src/goit/index.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package goit
 
 import (
diff --git a/src/goit/log.go b/src/goit/log.go
index 2268859..efa35f7 100644
--- a/src/goit/log.go
+++ b/src/goit/log.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package goit
 
 import "log"
diff --git a/src/goit/repo.go b/src/goit/repo.go
index 13b2f52..4e5e2ca 100644
--- a/src/goit/repo.go
+++ b/src/goit/repo.go
@@ -1,4 +1,3 @@
-// repo.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.
 
diff --git a/src/goit/user.go b/src/goit/user.go
index 16c26d5..8ce4e1d 100644
--- a/src/goit/user.go
+++ b/src/goit/user.go
@@ -1,4 +1,3 @@
-// user.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.
 
diff --git a/src/main.go b/src/main.go
index c79873e..33297ff 100644
--- a/src/main.go
+++ b/src/main.go
@@ -1,4 +1,3 @@
-// main.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.
 
diff --git a/src/repo/commit.go b/src/repo/commit.go
index 0e696ca..f4dd8ca 100644
--- a/src/repo/commit.go
+++ b/src/repo/commit.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/create.go b/src/repo/create.go
index c39c826..37aad0b 100644
--- a/src/repo/create.go
+++ b/src/repo/create.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/download.go b/src/repo/download.go
index 57c96f6..6c24c0b 100644
--- a/src/repo/download.go
+++ b/src/repo/download.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/edit.go b/src/repo/edit.go
index 5bba196..c67d406 100644
--- a/src/repo/edit.go
+++ b/src/repo/edit.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/file.go b/src/repo/file.go
index 7ad701f..44f489a 100644
--- a/src/repo/file.go
+++ b/src/repo/file.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/log.go b/src/repo/log.go
index cdb934e..23e9954 100644
--- a/src/repo/log.go
+++ b/src/repo/log.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/raw.go b/src/repo/raw.go
index b7de68f..c46fab6 100644
--- a/src/repo/raw.go
+++ b/src/repo/raw.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/refs.go b/src/repo/refs.go
index dfac9b0..eda65ee 100644
--- a/src/repo/refs.go
+++ b/src/repo/refs.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/repo.go b/src/repo/repo.go
index 984020d..6cc40a9 100644
--- a/src/repo/repo.go
+++ b/src/repo/repo.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/repo/tree.go b/src/repo/tree.go
index e02648a..f943d24 100644
--- a/src/repo/tree.go
+++ b/src/repo/tree.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package repo
 
 import (
diff --git a/src/user/edit.go b/src/user/edit.go
index 834c748..8468b95 100644
--- a/src/user/edit.go
+++ b/src/user/edit.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package user
 
 import (
diff --git a/src/user/login.go b/src/user/login.go
index cc8a7ee..8db8fd4 100644
--- a/src/user/login.go
+++ b/src/user/login.go
@@ -1,4 +1,3 @@
-// user/login.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.
 
diff --git a/src/user/sessions.go b/src/user/sessions.go
index 1c3b6ae..e7c3840 100644
--- a/src/user/sessions.go
+++ b/src/user/sessions.go
@@ -1,3 +1,6 @@
+// Copyright (C) 2023, Jakob Wakeling
+// All rights reserved.
+
 package user
 
 import (
diff --git a/src/user/user.go b/src/user/user.go
deleted file mode 100644
index a00006b..0000000
--- a/src/user/user.go
+++ /dev/null
@@ -1 +0,0 @@
-package user
diff --git a/src/util/util.go b/src/util/util.go
index 267ea22..c4866a2 100644
--- a/src/util/util.go
+++ b/src/util/util.go
@@ -1,4 +1,3 @@
-// util/util.go
 // Copyright (C) 2023, Jakob Wakeling
 // All rights reserved.