aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/ansiec/ansiec.go3
-rw-r--r--internal/database/database.go3
-rw-r--r--internal/embed/embed.go3
-rw-r--r--internal/irc/bot.go3
-rw-r--r--internal/misc/back.go3
-rw-r--r--internal/misc/deploy.go3
-rw-r--r--internal/misc/panic.go3
-rw-r--r--internal/oldgit/oldgit.go3
-rw-r--r--internal/oldgit/patch.go3
-rw-r--r--internal/render/render.go3
-rw-r--r--internal/unsorted/http_handle_group_index.go1
-rw-r--r--internal/unsorted/unsorted.go3
-rw-r--r--internal/unsorted/version.go3
-rw-r--r--internal/web/web.go3
14 files changed, 39 insertions, 1 deletions
diff --git a/internal/ansiec/ansiec.go b/internal/ansiec/ansiec.go
index f212cb9..542c564 100644
--- a/internal/ansiec/ansiec.go
+++ b/internal/ansiec/ansiec.go
@@ -1,2 +1,5 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
// Package ansiec provides definitions for ANSI escape sequences.
package ansiec
diff --git a/internal/database/database.go b/internal/database/database.go
index 7b0bee7..a482624 100644
--- a/internal/database/database.go
+++ b/internal/database/database.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
// Package database provides stubs and wrappers for databases.
package database
diff --git a/internal/embed/embed.go b/internal/embed/embed.go
index 5d17158..68af51d 100644
--- a/internal/embed/embed.go
+++ b/internal/embed/embed.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
// Package embed provides embedded filesystems created in build-time.
package embed
diff --git a/internal/irc/bot.go b/internal/irc/bot.go
index b41f174..dfb2906 100644
--- a/internal/irc/bot.go
+++ b/internal/irc/bot.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
// Package irc provides basic IRC bot functionality.
package irc
diff --git a/internal/misc/back.go b/internal/misc/back.go
index 6b57e30..ef4ed22 100644
--- a/internal/misc/back.go
+++ b/internal/misc/back.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package misc
type ErrorBack[T any] struct {
diff --git a/internal/misc/deploy.go b/internal/misc/deploy.go
index 80a1dec..0f24f49 100644
--- a/internal/misc/deploy.go
+++ b/internal/misc/deploy.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package misc
import (
diff --git a/internal/misc/panic.go b/internal/misc/panic.go
index 2400aed..94cd47a 100644
--- a/internal/misc/panic.go
+++ b/internal/misc/panic.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package misc
func FirstOrPanic[T any](v T, err error) T {
diff --git a/internal/oldgit/oldgit.go b/internal/oldgit/oldgit.go
index d608d6d..4c99d6a 100644
--- a/internal/oldgit/oldgit.go
+++ b/internal/oldgit/oldgit.go
@@ -1,2 +1,5 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
// Package oldgit provides deprecated functions that depend on go-git.
package oldgit
diff --git a/internal/oldgit/patch.go b/internal/oldgit/patch.go
index 329bdfb..30bf8e8 100644
--- a/internal/oldgit/patch.go
+++ b/internal/oldgit/patch.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package oldgit
import (
diff --git a/internal/render/render.go b/internal/render/render.go
index 242a924..465e410 100644
--- a/internal/render/render.go
+++ b/internal/render/render.go
@@ -1,2 +1,5 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
// Package render provides functions to render code and READMEs.
package render
diff --git a/internal/unsorted/http_handle_group_index.go b/internal/unsorted/http_handle_group_index.go
index 41eba24..092f06e 100644
--- a/internal/unsorted/http_handle_group_index.go
+++ b/internal/unsorted/http_handle_group_index.go
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-only
-
// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package unsorted
diff --git a/internal/unsorted/unsorted.go b/internal/unsorted/unsorted.go
index c8908af..f26b0e4 100644
--- a/internal/unsorted/unsorted.go
+++ b/internal/unsorted/unsorted.go
@@ -1,2 +1,5 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
// Package unsorted is where unsorted Go files from the old structure are kept.
package unsorted
diff --git a/internal/unsorted/version.go b/internal/unsorted/version.go
index fccf52c..52c0f32 100644
--- a/internal/unsorted/version.go
+++ b/internal/unsorted/version.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package unsorted
var version = "unknown"
diff --git a/internal/web/web.go b/internal/web/web.go
index e745a80..f4d15f8 100644
--- a/internal/web/web.go
+++ b/internal/web/web.go
@@ -1,2 +1,5 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
// Package web provides web-facing components of the forge.
package web